Index: ash/common/wm/maximize_mode/maximize_mode_window_manager.cc |
diff --git a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc |
index d4a3e88b044d4991c5ee76484f1875e24a4c4220..ef2e85ee22093e2f496ab9a170a651301ea3da7f 100644 |
--- a/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc |
+++ b/ash/common/wm/maximize_mode/maximize_mode_window_manager.cc |
@@ -266,7 +266,7 @@ bool MaximizeModeWindowManager::ShouldHandleWindow(WmWindow* window) { |
// If the changing bounds in the maximized/fullscreen is allowed, then |
// let the client manage it even in maximized mode. |
- if (window->GetWindowState()->allow_set_bounds_in_maximized()) |
+ if (window->GetWindowState()->allow_set_bounds_direct()) |
return false; |
return window->GetType() == ui::wm::WINDOW_TYPE_NORMAL; |