Index: ash/wm/workspace/phantom_window_controller.cc |
diff --git a/ash/wm/workspace/phantom_window_controller.cc b/ash/wm/workspace/phantom_window_controller.cc |
index 45d6140e88fb357446da82bebd29fa6e91a10c61..99861fdb3bd2ff041b58e6622ee95e4d2db97402 100644 |
--- a/ash/wm/workspace/phantom_window_controller.cc |
+++ b/ash/wm/workspace/phantom_window_controller.cc |
@@ -86,10 +86,10 @@ void PhantomWindowController::Show(const gfx::Rect& bounds) { |
if (!phantom_widget_.get()) { |
// Show the phantom at the bounds of the window. We'll animate to the target |
// bounds. |
- start_bounds_ = window_->GetScreenBounds(); |
+ start_bounds_ = window_->GetBoundsInScreen(); |
CreatePhantomWidget(start_bounds_); |
} else { |
- start_bounds_ = phantom_widget_->GetWindowScreenBounds(); |
+ start_bounds_ = phantom_widget_->GetWindowBoundsInScreen(); |
} |
animation_.reset(new ui::SlideAnimation(this)); |
animation_->Show(); |