Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index e8b5dcbc5b6e19f672fe80df2a1df6617068b40d..9fabcabd4c549733731e74a02a3e43857ced3349 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1629,9 +1629,9 @@ void RenderWidgetHostImpl::OnMsgGetWindowRect(gfx::NativeViewId window_id, |
} |
void RenderWidgetHostImpl::OnMsgGetRootWindowRect(gfx::NativeViewId window_id, |
- gfx::Rect* results) { |
+ gfx::Rect* results) { |
if (view_) |
- *results = view_->GetRootWindowBounds(); |
+ *results = view_->GetBoundsInRootWindow(); |
} |
#endif |