Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_position_client.cc

Issue 38423002: Make aura::clients take Window instead of RootWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_screen_position_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_screen_position_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698