DescriptionAttempt 2 at 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=none
TEST=covered by tests.
R=vollick@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=155533
Patch Set 1 #Patch Set 2 : The fix #
Total comments: 1
Patch Set 3 : Check for destroyed more #Patch Set 4 : Better fix #
Total comments: 4
Messages
Total messages: 9 (0 generated)
|