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

Issue 555463003: [Athena] Fix potential crash when overview window is deleted (Closed)

Created:
6 years, 3 months ago by pkotwicz
Modified:
6 years, 3 months ago
Reviewers:
sadrul, oshima
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Athena] Fix potential crash when overview window is deleted Delete the window immediately in WindowOverviewModeImpl::CloseDragWindow() and use wm::ScopedHidingAnimationSettings to make then hide animation look right. This fixes a potential crash if overview mode is exited while a window is animating closed. BUG=409724 TEST=None Committed: https://crrev.com/a9960587c8b51dd77b01bc3275feb6a22ba4f363 Cr-Commit-Position: refs/heads/master@{#294050}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M athena/wm/window_overview_mode.cc View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
pkotwicz
Sadrul PTAL This CL does not depend on https://codereview.chromium.org/546123002/ The CL fixes a crash which ...
6 years, 3 months ago (2014-09-09 00:38:00 UTC) #2
sadrul
Where does the crash happen?
6 years, 3 months ago (2014-09-09 14:40:18 UTC) #3
pkotwicz
The crash occurs in RestoreWindowState() when window->layer()->SetOpacity(1.0f) is called (because setting the opacity completes the ...
6 years, 3 months ago (2014-09-09 17:30:05 UTC) #4
sadrul
Thanks for the explanation. LGTM
6 years, 3 months ago (2014-09-09 19:04:31 UTC) #5
pkotwicz
oshima for OWNERS
6 years, 3 months ago (2014-09-09 21:14:09 UTC) #7
oshima
lgtm
6 years, 3 months ago (2014-09-09 21:47:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/555463003/1
6 years, 3 months ago (2014-09-09 23:06:08 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as 60b1268475e0b3af240e71af753c16c92c279902
6 years, 3 months ago (2014-09-10 00:29:34 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:56:57 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a9960587c8b51dd77b01bc3275feb6a22ba4f363
Cr-Commit-Position: refs/heads/master@{#294050}

Powered by Google App Engine
This is Rietveld 408576698