Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index 658b564762fccfda98fb35242f6fb91f8dfaceff..b6f0852799243653cd11431534654ed539cb0ebe 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -707,20 +707,15 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) { |
// Propagate relevant command line switches. |
static const char* const kSwitchNames[] = { |
- switches::kCompileShaderAlwaysSucceeds, |
switches::kDisableBreakpad, |
switches::kDisableGLMultisampling, |
switches::kDisableGpuDriverBugWorkarounds, |
switches::kDisableGpuSandbox, |
switches::kReduceGpuSandbox, |
- switches::kDisableGLSLTranslator, |
switches::kDisableGpuVsync, |
switches::kDisableGpuWatchdog, |
switches::kDisableImageTransportSurface, |
switches::kDisableLogging, |
- switches::kEnableGPUCommandLogging, |
- switches::kEnableGPUDebugging, |
- switches::kEnableGPUServiceLogging, |
switches::kEnableLogging, |
#if defined(OS_MACOSX) |
switches::kEnableSandboxLogging, |
@@ -736,6 +731,8 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) { |
}; |
cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, |
arraysize(kSwitchNames)); |
+ cmd_line->CopySwitchesFrom( |
+ browser_command_line, switches::kGpuSwitches, switches::kNumGpuSwitches); |
content::GetContentClient()->browser()->AppendExtraCommandLineSwitches( |
cmd_line, process_->GetData().id); |