Index: ui/aura/window.cc |
diff --git a/ui/aura/window.cc b/ui/aura/window.cc |
index 7f8dd83eb571ec26705c858ec79a3ca364960333..a94ccfe2a295a7f7397bb3303f89316b8d5fb717 100644 |
--- a/ui/aura/window.cc |
+++ b/ui/aura/window.cc |
@@ -298,9 +298,7 @@ void Window::SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen) { |
gfx::Point origin = new_bounds_in_screen.origin(); |
aura::client::ScreenPositionClient* screen_position_client = |
aura::client::GetScreenPositionClient(root); |
- screen_position_client->ConvertPointFromScreen( |
- parent(), &origin); |
- SetBounds(gfx::Rect(origin, new_bounds_in_screen.size())); |
+ screen_position_client->SetBounds(this, new_bounds_in_screen); |
return; |
} |
SetBounds(new_bounds_in_screen); |