diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 20:02:05 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 20:02:05 +0000 |
commit | dae12ee6df766d9cd3af83277f6e8d0f0e9bb20d (patch) | |
tree | 65f01afe493e3aec73488c4867c60f379b73270e /chrome/browser/browser.cc | |
parent | c91d9ced6258ada125bd9fb042ba795272a91fb6 (diff) | |
download | chromium_src-dae12ee6df766d9cd3af83277f6e8d0f0e9bb20d.zip chromium_src-dae12ee6df766d9cd3af83277f6e8d0f0e9bb20d.tar.gz chromium_src-dae12ee6df766d9cd3af83277f6e8d0f0e9bb20d.tar.bz2 |
Landing Thiago Farina's CL.
See http://codereview.chromium.org/159186
Renaming GetNormalBounds to GetRestoredBounds from browser_window.h.
BUG=None
TEST=None
TBR=tfarina
Review URL: http://codereview.chromium.org/160337
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r-- | chrome/browser/browser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index ab11f37..6c9c787 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -1508,8 +1508,8 @@ void Browser::DuplicateContentsAt(int index) { // Preserve the size of the original window. The new window has already // been given an offset by the OS, so we shouldn't copy the old bounds. BrowserWindow* new_window = browser->window(); - new_window->SetBounds(gfx::Rect(new_window->GetNormalBounds().origin(), - window()->GetNormalBounds().size())); + new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), + window()->GetRestoredBounds().size())); // We need to show the browser now. Otherwise ContainerWin assumes the // TabContents is invisible and won't size it. |