Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index fa120ca1f19be88e9650ba3b6625c09e035c04f5..fec99ea006c0a4b5a3e21736f71d8e2c38f70229 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -339,7 +339,7 @@ bool RenderWidgetHostViewAura::IsShowing() { |
} |
gfx::Rect RenderWidgetHostViewAura::GetViewBounds() const { |
- return window_->GetRootWindowBounds(); |
+ return window_->GetBoundsInRootWindow(); |
} |
void RenderWidgetHostViewAura::UpdateCursor(const WebCursor& cursor) { |
@@ -699,8 +699,8 @@ void RenderWidgetHostViewAura::GetScreenInfo(WebKit::WebScreenInfo* results) { |
GetScreenInfoForWindow(results, window_); |
} |
-gfx::Rect RenderWidgetHostViewAura::GetRootWindowBounds() { |
- return window_->GetToplevelWindow()->bounds(); |
+gfx::Rect RenderWidgetHostViewAura::GetBoundsInRootWindow() { |
+ return window_->GetToplevelWindow()->GetBoundsInRootWindow(); |
} |
void RenderWidgetHostViewAura::ProcessTouchAck( |