| 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..38c2652771655d0c74c1368fe3712ba833cafbef 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::IsMetroProcess())
|
| use_existing_browser_window = true;
|
| #endif // OS_WIN
|
|
|
|
|