Index: ash/wm/workspace/maximized_workspace.cc |
diff --git a/ash/wm/workspace/maximized_workspace.cc b/ash/wm/workspace/maximized_workspace.cc |
index 6182b09ee044697ce67c87cf9f4f0791c8c9602b..d741e8e51399fa2a94914f43fc88414baa33eb68 100644 |
--- a/ash/wm/workspace/maximized_workspace.cc |
+++ b/ash/wm/workspace/maximized_workspace.cc |
@@ -41,10 +41,10 @@ void MaximizedWorkspace::OnWindowRemoved(aura::Window* window) { |
void MaximizedWorkspace::ResetWindowBounds(aura::Window* window) { |
if (wm::IsWindowFullscreen(window)) { |
SetWindowBounds(window, |
- ScreenAsh::GetDisplayParentBounds(window)); |
+ ScreenAsh::GetDisplayBoundsInParent(window)); |
} else { |
SetWindowBounds(window, |
- ScreenAsh::GetMaximizedWindowParentBounds(window)); |
+ ScreenAsh::GetMaximizedWindowBoundsInParent(window)); |
} |
} |