Index: content/browser/web_contents/web_contents_view_aura.cc |
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc |
index 21b82afb9afc8fa10ef01f2dd10198f55ba7f270..072c00c4d91f43ff3806d42ec4ee9d82b4255a9e 100644 |
--- a/content/browser/web_contents/web_contents_view_aura.cc |
+++ b/content/browser/web_contents/web_contents_view_aura.cc |
@@ -304,7 +304,7 @@ gfx::NativeWindow WebContentsViewAura::GetTopLevelNativeWindow() const { |
} |
void WebContentsViewAura::GetContainerBounds(gfx::Rect *out) const { |
- *out = window_->GetScreenBounds(); |
+ *out = window_->GetBoundsInScreen(); |
} |
void WebContentsViewAura::SetPageTitle(const string16& title) { |
@@ -398,7 +398,7 @@ void WebContentsViewAura::CloseTabAfterEventTracking() { |
} |
gfx::Rect WebContentsViewAura::GetViewBounds() const { |
- return window_->GetRootWindowBounds(); |
+ return window_->GetBoundsInRootWindow(); |
} |
//////////////////////////////////////////////////////////////////////////////// |