diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/frame/browser_view.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc index 17127ba..1cb672c 100644 --- a/chrome/browser/views/frame/browser_view.cc +++ b/chrome/browser/views/frame/browser_view.cc @@ -600,6 +600,7 @@ void BrowserView::SaveWindowPlacement(const gfx::Rect& bounds, } bool BrowserView::GetSavedWindowBounds(gfx::Rect* bounds) const { + *bounds = browser_->GetSavedWindowBounds(); if (browser_->type() == BrowserType::BROWSER) { // We are a popup window. The value passed in |bounds| represents two // pieces of information: @@ -630,8 +631,6 @@ bool BrowserView::GetSavedWindowBounds(gfx::Rect* bounds) const { } *bounds = window_rect; - } else { - *bounds = browser_->GetSavedWindowBounds(); } // We return true because we can _always_ locate reasonable bounds using the |