Index: content/browser/renderer_host/render_widget_host_view_mac.mm |
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm |
index 54132dfa89a96b43a3675a5e514245db42f3f697..f7c75f63fa308ee84542e9d616305f654a595181 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm |
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm |
@@ -1133,7 +1133,7 @@ void RenderWidgetHostViewMac::GetScreenInfo(WebKit::WebScreenInfo* results) { |
*results = WebKit::WebScreenInfoFactory::screenInfo(GetNativeView()); |
} |
-gfx::Rect RenderWidgetHostViewMac::GetRootWindowBounds() { |
+gfx::Rect RenderWidgetHostViewMac::GetBoundsInRootWindow() { |
// TODO(shess): In case of !window, the view has been removed from |
// the view hierarchy because the tab isn't main. Could retrieve |
// the information from the main tab for our window. |
@@ -1279,7 +1279,7 @@ void RenderWidgetHostViewMac::SetWindowVisibility(bool visible) { |
void RenderWidgetHostViewMac::WindowFrameChanged() { |
if (render_widget_host_) { |
render_widget_host_->Send(new ViewMsg_WindowFrameChanged( |
- render_widget_host_->GetRoutingID(), GetRootWindowBounds(), |
+ render_widget_host_->GetRoutingID(), GetBoundsInRootWindow(), |
GetViewBounds())); |
} |
} |