Chromium Code Reviews| 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..2f20edd79a00adbf40c68544e81b0de85f874c30 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; |
|
sky
2012/10/08 21:01:25
same comment and initializing. Also, I have a feli
Mr4D (OOO till 08-26)
2012/10/08 23:04:27
Done
|
| + gfx::Rect desiredContentRect; |
| + chrome::GetSavedWindowBoundsAndShowState(browser_.get(), |
| + &desiredContentRect, |
| + &show_state); |
| gfx::Rect windowRect = desiredContentRect; |
| windowRect = [self enforceMinWindowSize:windowRect]; |