Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(820)

Issue 2473523003: ash: Avoid a shutdown crash in ScreenRotationAnimation. (Closed)

Created:
4 years, 1 month ago by Daniel Erat
Modified:
4 years, 1 month ago
Reviewers:
James Cook, bruthig
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Avoid a shutdown crash in ScreenRotationAnimation. Make ash::ScreenRotationAnimation::OnAbort() not dereference a null ui::LayerAnimationDelegate* when its layer is destroyed mid-animation. BUG=661313 Committed: https://crrev.com/ee91b8bf594ec33c709a2a9826569fdd88ed98bd Cr-Commit-Position: refs/heads/master@{#429277}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M ash/rotator/screen_rotation_animation.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/rotator/screen_rotation_animation.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ash/rotator/screen_rotation_animation_unittest.cc View 1 2 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
Daniel Erat
4 years, 1 month ago (2016-11-02 00:36:23 UTC) #3
bruthig
On 2016/11/02 00:36:23, Daniel Erat wrote: Part of me wonders if having Layer::~Layer() call animator_->AbortAllAnimations() ...
4 years, 1 month ago (2016-11-02 01:38:29 UTC) #7
James Cook
LGTM with nits https://codereview.chromium.org/2473523003/diff/1/ash/rotator/screen_rotation_animation.cc File ash/rotator/screen_rotation_animation.cc (right): https://codereview.chromium.org/2473523003/diff/1/ash/rotator/screen_rotation_animation.cc#newcode69 ash/rotator/screen_rotation_animation.cc:69: } Can you also fix the ...
4 years, 1 month ago (2016-11-02 02:19:17 UTC) #8
Daniel Erat
https://codereview.chromium.org/2473523003/diff/1/ash/rotator/screen_rotation_animation.cc File ash/rotator/screen_rotation_animation.cc (right): https://codereview.chromium.org/2473523003/diff/1/ash/rotator/screen_rotation_animation.cc#newcode69 ash/rotator/screen_rotation_animation.cc:69: } On 2016/11/02 02:19:17, James Cook wrote: > Can ...
4 years, 1 month ago (2016-11-02 14:04:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473523003/20001
4 years, 1 month ago (2016-11-02 14:04:47 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-02 14:37:21 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 14:41:00 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ee91b8bf594ec33c709a2a9826569fdd88ed98bd
Cr-Commit-Position: refs/heads/master@{#429277}

Powered by Google App Engine
This is Rietveld 408576698