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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2120003002: Fixes mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index e4ed015d8a85ae7d404a7f2f6a8b998117d1c459..e35fe35e8c34d51a8d77845bfe3c8ce4d607bee4 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -97,8 +97,6 @@ WmShellMus::WmShellMus(::mus::WindowTreeClient* client)
client_->AddObserver(this);
WmShell::Set(this);
- CreateMaximizeModeController();
-
CreateMruWindowTracker();
accessibility_delegate_.reset(new DefaultAccessibilityDelegate);
@@ -108,9 +106,6 @@ WmShellMus::WmShellMus(::mus::WindowTreeClient* client)
WmShellMus::~WmShellMus() {
// This order mirrors that of Shell.
- // Destroy maximize mode controller early on since it has some observers which
- // need to be removed.
- DeleteMaximizeModeController();
DeleteSystemTrayDelegate();
DeleteWindowSelectorController();
DeleteMruWindowTracker();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698