| Index: content/browser/renderer_host/render_view_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
|
| index 10f72cb2ea8c43d78b63a7cb423078a898241c2f..b01f462bbf1bc15e287bcfc718999e555881245d 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -334,7 +334,8 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs(const GURL& url) {
|
| TRACE_EVENT0("browser", "RenderViewHostImpl::GetWebkitPrefs");
|
| WebPreferences prefs;
|
|
|
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
|
|
| prefs.javascript_enabled =
|
| !command_line.HasSwitch(switches::kDisableJavaScript);
|
| @@ -808,7 +809,8 @@ void RenderViewHostImpl::AllowBindings(int bindings_flags) {
|
| static_cast<RenderProcessHostImpl*>(GetProcess());
|
| // --single-process only has one renderer.
|
| if (process->GetActiveViewCount() > 1 &&
|
| - !CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess))
|
| + !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kSingleProcess))
|
| return;
|
| }
|
|
|
|
|