| Index: chrome/common/chrome_plugin_lib.cc
|
| diff --git a/chrome/common/chrome_plugin_lib.cc b/chrome/common/chrome_plugin_lib.cc
|
| index 4af7a558470c58c994bee4ae466d8ddf007c7368..1587a2d04217361ce530a16f986bbfd480baf444 100644
|
| --- a/chrome/common/chrome_plugin_lib.cc
|
| +++ b/chrome/common/chrome_plugin_lib.cc
|
| @@ -44,8 +44,7 @@ CPError STDCALL Gears_CP_Initialize(CPID id, const CPBrowserFuncs *bfuncs,
|
|
|
| static bool IsSingleProcessMode() {
|
| // We don't support ChromePlugins in single-process mode.
|
| - CommandLine command_line;
|
| - return command_line.HasSwitch(switches::kSingleProcess);
|
| + return CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess);
|
| }
|
|
|
| // static
|
|
|