| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 33974619add3996ae531bc2b7d89655daa766f96..413e64092531d3972ce2b0bec6dcba9df31fcb05 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -946,6 +946,12 @@ gfx::Rect Browser::GetSavedWindowBounds() const {
|
| }
|
|
|
| ui::WindowShowState Browser::GetSavedWindowShowState() const {
|
| + // Only tabbed browsers use the command line or preference state.
|
| + if (!is_type_tabbed()) {
|
| + return (show_state_ == ui::SHOW_STATE_DEFAULT)
|
| + ? ui::SHOW_STATE_NORMAL : show_state_;
|
| + }
|
| +
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kStartMaximized))
|
| return ui::SHOW_STATE_MAXIMIZED;
|
|
|
|
|