Chromium Code Reviews| 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..bcafa401a8dbef2303618b3608c3b36992d05956 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; |
|
sky
2012/10/08 21:01:25
Same comment about initializing here.
Mr4D (OOO till 08-26)
2012/10/08 23:04:27
Yeah, done.
|
| + WindowSizer::GetBrowserWindowBoundsAndShowState(std::string(), |
| + gfx::Rect(), |
| + GetCurrentBrowser(), |
| + &window_bounds, |
| + &show_state); |
| } |
| if (Browser::TYPE_PANEL == window_type && |