| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index 7db7ca6aefc4ca0839a434beeac07cc7cd8badab..70fbd3b78025488422a1343eea6f5085e60a1c83 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -1524,7 +1524,7 @@ bool Extension::LoadPlugins(string16* error) {
|
| #if defined(OS_WIN)
|
| // Like Chrome OS, we don't support NPAPI plugins in Windows 8 metro mode
|
| // but in this case we want to fail with an error.
|
| - if (base::win::GetMetroModule()) {
|
| + if (base::win::InMetroMode()) {
|
| *error = l10n_util::GetStringUTF16(
|
| IDS_EXTENSION_INSTALL_PLUGIN_NOT_SUPPORTED);
|
| return false;
|
|
|