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 2ca556c39794c521f974bdb14741f0ad4b788f1e..08e5d926fad5655380f2af3af714eff1428518b1 100644 |
--- a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc |
+++ b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc |
@@ -59,8 +59,9 @@ void DesktopScreenPositionClient::ConvertPointFromScreen( |
} |
void DesktopScreenPositionClient::ConvertHostPointToScreen( |
- aura::RootWindow* window, gfx::Point* point) { |
- ConvertPointToScreen(window, point); |
+ aura::Window* window, gfx::Point* point) { |
+ aura::RootWindow* root_window = window->GetRootWindow(); |
+ ConvertPointToScreen(root_window, point); |
} |
void DesktopScreenPositionClient::SetBounds( |