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

Issue 148883003: Change destruction order of FocusController (Closed)

Created:
6 years, 10 months ago by sky
Modified:
6 years, 10 months ago
CC:
chromium-reviews, tfarina, ben+views_chromium.org
Visibility:
Public.

Description

Change destruction order of FocusController Currently the FocusController is destroyed after the root window. FocusController may use DesktopNativeWidgetAura::content_window_. Since the FocusController is destroyed after content_window_ it is entirely possible for FocusController to attempt to use content_window_ after it's been destroyed. This patch destroys FocusController before the root. BUG=314118 TEST=covered by test R=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247568

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -6 lines) Patch
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 2 chunks +2 lines, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 3 chunks +11 lines, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc View 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sky
6 years, 10 months ago (2014-01-28 16:55:58 UTC) #1
Ben Goodger (Google)
lgtm
6 years, 10 months ago (2014-01-28 17:40:41 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/148883003/1
6 years, 10 months ago (2014-01-28 18:39:53 UTC) #3
commit-bot: I haz the power
6 years, 10 months ago (2014-01-29 01:32:42 UTC) #4
Message was sent while issue was closed.
Change committed as 247568

Powered by Google App Engine
This is Rietveld 408576698