commit | aec12f8270d113642523a8f38a994eb38f06d709 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Aug 24 22:09:35 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Aug 24 22:09:35 2012 |
tree | efe8998e4d9d7ff736c27889c83fb45574741ae3 | |
parent | 8d1b9468adf90a429a3b262a6b1847a26d428032 [diff] |
Revert 153291 - Fixes crash introduced @ 153047 (you can hit crash by maximizing a window). The cross fade code deletes the layer when the animation finishes. The newly added code was accessing members after the animation finished and the animator was deleted, resulting in the crash. Since I'm sure this will come up more in the future I've restructured the code to allow for deletion when calling out like this. The cross fade test exercises this code path now, but I'll see about a more focused tests shortly. BUG=129033 TEST=covered by tests. [email protected] Review URL: https://chromiumcodereview.appspot.com/10874064 [email protected] Review URL: https://chromiumcodereview.appspot.com/10882043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153312 0039d316-1c4b-4281-b951-d872f2087c98