| Index: chrome/browser/extensions/extension_tabs_test.cc
|
| diff --git a/chrome/browser/extensions/extension_tabs_test.cc b/chrome/browser/extensions/extension_tabs_test.cc
|
| index ed0bc6cd9ed3a0740b26defe535638b6c4186b82..c5c75ce4570a6f2aeb73b31eea519ed7e16a32e9 100644
|
| --- a/chrome/browser/extensions/extension_tabs_test.cc
|
| +++ b/chrome/browser/extensions/extension_tabs_test.cc
|
| @@ -43,9 +43,11 @@ IN_PROC_BROWSER_TEST_F(ExtensionTabsTest, GetWindow) {
|
| keys::kWindowNotFoundError));
|
|
|
| // Basic window details.
|
| - // Need GetRestoredBound instead of GetBounds.
|
| - // See crbug.com/98759.
|
| - gfx::Rect bounds = browser()->window()->GetRestoredBounds();
|
| + gfx::Rect bounds;
|
| + if (browser()->window()->IsMinimized())
|
| + bounds = browser()->window()->GetRestoredBounds();
|
| + else
|
| + bounds = browser()->window()->GetBounds();
|
|
|
| scoped_ptr<base::DictionaryValue> result(ToDictionary(
|
| RunFunctionAndReturnResult(
|
|
|