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

Issue 2337383003: [ash-md] Corrects a crash when a window is destroyed after leaving overview (Closed)

Created:
4 years, 3 months ago by varkha
Modified:
4 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ash-md] Corrects a crash when a window is closed after leaving overview Exiting overview mode may leave overview header widget still animating. It is important not to attempt any window manipulation such as re-stacking when the animation completes because the affected windows may be gone by then. BUG=646350 TEST=WindowSelectorTest.SafeToDestroyWindowDuringAnimation Committed: https://crrev.com/81e77929734c8d7d02e9c8dfb2673667b055accb Cr-Commit-Position: refs/heads/master@{#418780}

Patch Set 1 : [ash-md] Corrects a crash when a window is destroyed after leaving overview #

Total comments: 2

Patch Set 2 : [ash-md] Corrects a crash when a window is destroyed after leaving overview (nits) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -1 line) Patch
M ash/common/wm/overview/window_selector_item.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.cc View 4 chunks +12 lines, -1 line 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 3 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
varkha
sky@, could you please take a look? Since I have missed this in the review ...
4 years, 3 months ago (2016-09-15 00:37:02 UTC) #4
sky
LGTM https://codereview.chromium.org/2337383003/diff/20001/ash/wm/overview/window_selector_unittest.cc File ash/wm/overview/window_selector_unittest.cc (right): https://codereview.chromium.org/2337383003/diff/20001/ash/wm/overview/window_selector_unittest.cc#newcode1312 ash/wm/overview/window_selector_unittest.cc:1312: ASSERT_TRUE(!!animation); Double negatives are hard to read. ASSERT_NE(nullptr, ...
4 years, 3 months ago (2016-09-15 03:01:00 UTC) #12
varkha
Thanks for quickly looking at this! https://codereview.chromium.org/2337383003/diff/20001/ash/wm/overview/window_selector_unittest.cc File ash/wm/overview/window_selector_unittest.cc (right): https://codereview.chromium.org/2337383003/diff/20001/ash/wm/overview/window_selector_unittest.cc#newcode1312 ash/wm/overview/window_selector_unittest.cc:1312: ASSERT_TRUE(!!animation); On 2016/09/15 ...
4 years, 3 months ago (2016-09-15 03:54:18 UTC) #13
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/2337383003/40001
4 years, 3 months ago (2016-09-15 03:54:50 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 3 months ago (2016-09-15 04:27:51 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 04:30:24 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/81e77929734c8d7d02e9c8dfb2673667b055accb
Cr-Commit-Position: refs/heads/master@{#418780}

Powered by Google App Engine
This is Rietveld 408576698