| Index: ui/views/widget/desktop_aura/desktop_screen_position_client.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
|
| index 1d217402b9d7cd73445fd3204ab182cd1d24f8f2..a16b24b6427a4df6117800a964b332c3e4df7334 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
|
| @@ -15,7 +15,8 @@ namespace views {
|
| namespace {
|
|
|
| gfx::Point GetOrigin(const aura::Window* root_window) {
|
| - gfx::Point origin_in_pixels = root_window->GetDispatcher()->GetHostOrigin();
|
| + gfx::Point origin_in_pixels =
|
| + root_window->GetDispatcher()->host()->GetBounds().origin();
|
| aura::Window* window = const_cast<aura::Window*>(root_window);
|
| float scale = gfx::Screen::GetScreenFor(window)->
|
| GetDisplayNearestWindow(window).device_scale_factor();
|
|
|