| Index: ui/wm/core/default_screen_position_client.cc
|
| diff --git a/ui/wm/core/default_screen_position_client.cc b/ui/wm/core/default_screen_position_client.cc
|
| index 67520bb5ce654c088ed47b76c25b94acf7622c7f..4d7a45359d4f805a6d1172b08380e1a0757dff77 100644
|
| --- a/ui/wm/core/default_screen_position_client.cc
|
| +++ b/ui/wm/core/default_screen_position_client.cc
|
| @@ -21,7 +21,7 @@ gfx::Point DefaultScreenPositionClient::GetOriginInScreen(
|
| const aura::Window* root_window) {
|
| aura::Window* window = const_cast<aura::Window*>(root_window);
|
| display::Screen* screen = display::Screen::GetScreen();
|
| - gfx::Rect screen_bounds = root_window->GetHost()->GetBounds();
|
| + gfx::Rect screen_bounds = root_window->GetHost()->GetBoundsInPixels();
|
| gfx::Rect dip_bounds = screen->ScreenToDIPRectInWindow(window, screen_bounds);
|
| return dip_bounds.origin();
|
| }
|
|
|