Index: ash/wm/maximize_mode/maximize_mode_window_manager.cc |
diff --git a/ash/wm/maximize_mode/maximize_mode_window_manager.cc b/ash/wm/maximize_mode/maximize_mode_window_manager.cc |
index 15278bfac23dede9f38991eed247418bdaaa9ee6..a964c7a6cf1b8f3d109dac1998f781ab30358f70 100644 |
--- a/ash/wm/maximize_mode/maximize_mode_window_manager.cc |
+++ b/ash/wm/maximize_mode/maximize_mode_window_manager.cc |
@@ -48,7 +48,6 @@ MaximizeModeWindowManager::~MaximizeModeWindowManager() { |
EnableBackdropBehindTopWindowOnEachDisplay(false); |
RemoveWindowCreationObservers(); |
RestoreAllWindows(); |
- Shell::GetInstance()->OnMaximizeModeEnded(); |
} |
int MaximizeModeWindowManager::GetNumberOfManagedWindows() { |
@@ -163,7 +162,6 @@ MaximizeModeWindowManager::MaximizeModeWindowManager() |
MaximizeAllWindows(); |
AddWindowCreationObservers(); |
EnableBackdropBehindTopWindowOnEachDisplay(true); |
- Shell::GetInstance()->OnMaximizeModeStarted(); |
Shell::GetScreen()->AddObserver(this); |
Shell::GetInstance()->AddShellObserver(this); |
Shell::GetInstance()->AddPreTargetHandler(this); |