| 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 9ef2727d28824b5a54222ee90947cb990331947f..0afbd744a7d4b9fd664297bd23f2f995ab493e23 100644
|
| --- a/content/browser/web_contents/web_contents_view_aura.cc
|
| +++ b/content/browser/web_contents/web_contents_view_aura.cc
|
| @@ -256,7 +256,7 @@ gfx::NativeWindow WebContentsViewAura::GetTopLevelNativeWindow() const {
|
| }
|
|
|
| void WebContentsViewAura::GetContainerBounds(gfx::Rect *out) const {
|
| - *out = window_->GetScreenBounds();
|
| + *out = window_->GetBoundsInRootWindow();
|
| }
|
|
|
| void WebContentsViewAura::SetPageTitle(const string16& title) {
|
| @@ -343,7 +343,7 @@ void WebContentsViewAura::CloseTabAfterEventTracking() {
|
| }
|
|
|
| void WebContentsViewAura::GetViewBounds(gfx::Rect* out) const {
|
| - *out = window_->GetScreenBounds();
|
| + *out = window_->GetBoundsInRootWindow();
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|