Index: chrome/browser/chromeos/frame/browser_view.cc |
diff --git a/chrome/browser/chromeos/frame/browser_view.cc b/chrome/browser/chromeos/frame/browser_view.cc |
index c25ccbd2a759c6f2e557784014a9eddba8e015cf..9efb707190ee3264cd394f4ec17cdfb6889076a6 100644 |
--- a/chrome/browser/chromeos/frame/browser_view.cc |
+++ b/chrome/browser/chromeos/frame/browser_view.cc |
@@ -449,7 +449,9 @@ void BrowserView::ChildPreferredSizeChanged(View* child) { |
Layout(); |
} |
-bool BrowserView::GetSavedWindowBounds(gfx::Rect* bounds) const { |
+bool BrowserView::GetSavedWindowPlacement( |
+ gfx::Rect* bounds, |
+ ui::WindowShowState* show_state) const { |
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kChromeosFrame)) { |
// Typically we don't request a full screen size. This means we'll request a |
// non-full screen size, layout/paint at that size, then the window manager |
@@ -457,9 +459,10 @@ bool BrowserView::GetSavedWindowBounds(gfx::Rect* bounds) const { |
// resize/paint. To avoid this we always request a full screen size. |
*bounds = gfx::Screen::GetMonitorWorkAreaNearestWindow( |
GTK_WIDGET(GetWidget()->GetNativeWindow())); |
+ *show_state = ui::SHOW_STATE_NORMAL; |
return true; |
} |
- return ::BrowserView::GetSavedWindowBounds(bounds); |
+ return ::BrowserView::GetSavedWindowPlacement(bounds, show_state); |
} |
void BrowserView::Cut() { |