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 aac09b748e1a27134bf6effa93a9b3250d3181ce..e434cba55eccc77f06440168807c7ec7ce0b669b 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); |