| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index 8736c793975bc0d2d3db17820e1f047e44fa1985..4a6bac37c3420c79e715499fc0f424c75f19c2d7 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -934,9 +934,7 @@ bool Extension::AppsAreEnabled() {
|
| #if defined(OS_CHROMEOS)
|
| return true;
|
| #else
|
| - static bool apps_enabled_mode =
|
| - CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableApps);
|
| - return apps_enabled_mode;
|
| + return CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableApps);
|
| #endif
|
| }
|
|
|
|
|