Index: chrome/browser/ui/views/frame/browser_frame.cc |
diff --git a/chrome/browser/ui/views/frame/browser_frame.cc b/chrome/browser/ui/views/frame/browser_frame.cc |
index acaf68f278c194940c9b294c920f85fc8b696077..20f685aa13e4d75111150a294f694b6c378fea8c 100644 |
--- a/chrome/browser/ui/views/frame/browser_frame.cc |
+++ b/chrome/browser/ui/views/frame/browser_frame.cc |
@@ -48,7 +48,8 @@ void BrowserFrame::InitBrowserFrame() { |
// Typed panel/popup can only return a size once the widget has been |
// created. |
params.bounds = browser_view_->browser()->GetSavedWindowBounds(); |
- params.maximize = browser_view_->browser()->GetSavedMaximizedState(); |
+ params.maximize = browser_view_->browser()->GetSavedWindowShowState() == |
+ ui::SHOW_STATE_MAXIMIZED; |
} |
Init(params); |
#if defined(OS_CHROMEOS) |