| Index: chrome/browser/extensions/api/tabs/windows_util.cc
|
| diff --git a/chrome/browser/extensions/api/tabs/windows_util.cc b/chrome/browser/extensions/api/tabs/windows_util.cc
|
| index 48c6824f4775f9fb2448eae6bfa7d36ef245b762..16df97f94110b3fb4f3a160099e411c50326b2d1 100644
|
| --- a/chrome/browser/extensions/api/tabs/windows_util.cc
|
| +++ b/chrome/browser/extensions/api/tabs/windows_util.cc
|
| @@ -38,6 +38,7 @@ bool GetWindowFromWindowID(ChromeUIThreadExtensionFunction* function,
|
| } else {
|
| *controller = extensions::WindowControllerList::GetInstance()
|
| ->FindWindowForFunctionById(function_details, window_id);
|
| +
|
| if (!(*controller)) {
|
| function->SetError(extensions::ErrorUtils::FormatErrorMessage(
|
| extensions::tabs_constants::kWindowNotFoundError,
|
|
|