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

Unified Diff: ash/root_window_controller.cc

Issue 196573023: Remove PrepareForShutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/display/screen_ash.cc ('k') | ash/root_window_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 3982ad78fb5feafada0616fa7d50f7df1fd24b49..ba8eb3f359ae7437367680e408c933e8843692fb 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -354,8 +354,7 @@ void RootWindowController::Shutdown() {
// ends up with invalid display.
internal::GetRootWindowSettings(root_window())->display_id =
gfx::Display::kInvalidDisplayID;
- // And this root window should no longer process events.
- host()->dispatcher()->PrepareForShutdown();
+ internal::GetRootWindowSettings(root_window())->shutdown = true;
system_background_.reset();
aura::client::SetScreenPositionClient(root_window(), NULL);
« no previous file with comments | « ash/display/screen_ash.cc ('k') | ash/root_window_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698