| 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 da0a2461bf032b7a97db426bbaf90c23d0057e28..32966564d85f16d0108e4970d74427ae74eed9c4 100644
|
| --- a/chrome/browser/extensions/api/tabs/tabs.cc
|
| +++ b/chrome/browser/extensions/api/tabs/tabs.cc
|
| @@ -227,7 +227,7 @@ Browser* CreateBrowserWindow(const Browser::CreateParams& params,
|
| #if defined(OS_WIN)
|
| // In Windows 8 metro mode we only allow new windows to be created if the
|
| // extension id is valid in which case it is created as an application window
|
| - if (extension_id.empty() && base::win::GetMetroModule())
|
| + if (extension_id.empty() && base::win::InMetroMode())
|
| use_existing_browser_window = true;
|
| #endif // OS_WIN
|
|
|
|
|