| Index: chrome/browser/ui/cocoa/browser_window_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| index 89be4970e816cc2fc14fe608c2740805a1f28207..476fb6960bf36e29b338a8f6ae86e1c1e7d8b05a 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| @@ -268,8 +268,11 @@ enum {
|
| // Note that this may leave a significant portion of the window
|
| // offscreen, but there will always be enough window onscreen to
|
| // drag the whole window back into view.
|
| - gfx::Rect desiredContentRect =
|
| - chrome::GetSavedWindowBounds(browser_.get());
|
| + ui::WindowShowState show_state = ui::SHOW_STATE_DEFAULT;
|
| + gfx::Rect desiredContentRect;
|
| + chrome::GetSavedWindowBoundsAndShowState(browser_.get(),
|
| + &desiredContentRect,
|
| + &show_state);
|
| gfx::Rect windowRect = desiredContentRect;
|
| windowRect = [self enforceMinWindowSize:windowRect];
|
|
|
|
|