| Index: chrome/browser/extensions/api/tabs/tabs.cc
|
| diff --git a/chrome/browser/extensions/api/tabs/tabs.cc b/chrome/browser/extensions/api/tabs/tabs.cc
|
| index 20053f91cd7c6a74baf43963377a03fbb718437e..672855ba45995406c0372c86bfefac9717741064 100644
|
| --- a/chrome/browser/extensions/api/tabs/tabs.cc
|
| +++ b/chrome/browser/extensions/api/tabs/tabs.cc
|
| @@ -531,9 +531,12 @@ bool CreateWindowFunction::RunImpl() {
|
| // NOTE(rafaelw): It's ok if GetCurrentBrowser() returns NULL here.
|
| // GetBrowserWindowBounds will default to saved "default" values for
|
| // the app.
|
| - WindowSizer::GetBrowserWindowBounds(std::string(), gfx::Rect(),
|
| - GetCurrentBrowser(),
|
| - &window_bounds);
|
| + ui::WindowShowState show_state = ui::SHOW_STATE_DEFAULT;
|
| + WindowSizer::GetBrowserWindowBoundsAndShowState(std::string(),
|
| + gfx::Rect(),
|
| + GetCurrentBrowser(),
|
| + &window_bounds,
|
| + &show_state);
|
| }
|
|
|
| if (Browser::TYPE_PANEL == window_type &&
|
|
|