| Index: chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
|
| diff --git a/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc b/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
|
| index 74655c04483c7c12fdc42a9960e6d59901ed74be..76ecf882aab8076aa13d1a252eff31b8f84bf4e1 100644
|
| --- a/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
|
| +++ b/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
|
| @@ -488,8 +488,9 @@ bool CreateOffscreenTabFunction::RunImpl() {
|
| return false;
|
| }
|
|
|
| - WindowSizer::GetBrowserWindowBounds(
|
| - std::string(), gfx::Rect(), browser, &window_bounds);
|
| + ui::WindowShowState show_state;
|
| + WindowSizer::GetBrowserWindowBoundsAndShowState(
|
| + std::string(), gfx::Rect(), browser, &window_bounds, &show_state);
|
|
|
| int width = window_bounds.width();
|
| if (create_props->HasKey(tabs_keys::kWidthKey))
|
|
|