| Index: extensions/renderer/dispatcher.cc
|
| diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
|
| index 54805aa93c6e80414b63f28d629b3c2908e99485..49c399fbcc954a55296ef2044c1abb91f3d1a3e7 100644
|
| --- a/extensions/renderer/dispatcher.cc
|
| +++ b/extensions/renderer/dispatcher.cc
|
| @@ -189,7 +189,8 @@ Dispatcher::Dispatcher(DispatcherDelegate* delegate)
|
| is_webkit_initialized_(false),
|
| user_script_set_manager_observer_(this),
|
| webrequest_used_(false) {
|
| - const CommandLine& command_line = *(CommandLine::ForCurrentProcess());
|
| + const base::CommandLine& command_line =
|
| + *(base::CommandLine::ForCurrentProcess());
|
| is_extension_process_ =
|
| command_line.HasSwitch(switches::kExtensionProcess) ||
|
| command_line.HasSwitch(::switches::kSingleProcess);
|
| @@ -1148,7 +1149,7 @@ void Dispatcher::UpdateBindingsForContext(ScriptContext* context) {
|
|
|
| // Skip chrome.test if this isn't a test.
|
| if (api_name == "test" &&
|
| - !CommandLine::ForCurrentProcess()->HasSwitch(
|
| + !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| ::switches::kTestType)) {
|
| continue;
|
| }
|
|
|