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 df5cf6115beb8f2c17b3649d7495e331d529a0e6..5a6969a39a4ddc1a8b4e62a71221afe92dbdaaad 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -977,18 +977,14 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) { |
switches::kDisableBreakpad, |
switches::kDisableGLMultisampling, |
switches::kDisableGpuSandbox, |
- switches::kDisableGpuVsync, |
switches::kDisableGpuWatchdog, |
switches::kDisableImageTransportSurface, |
switches::kDisableLogging, |
switches::kDisableSeccompFilterSandbox, |
switches::kEnableGpuSandbox, |
- switches::kEnableGPUServiceLogging, |
switches::kEnableLogging, |
switches::kEnableVirtualGLContexts, |
- switches::kGpuNoContextLost, |
switches::kGpuStartupDialog, |
- switches::kGpuSwitching, |
switches::kLoggingLevel, |
switches::kNoSandbox, |
switches::kReduceGpuSandbox, |
@@ -1008,6 +1004,9 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) { |
arraysize(kSwitchNames)); |
cmd_line->CopySwitchesFrom( |
browser_command_line, switches::kGpuSwitches, switches::kNumGpuSwitches); |
+ cmd_line->CopySwitchesFrom( |
+ browser_command_line, switches::kGLSwitchesCopiedFromGpuProcessHost, |
+ switches::kGLSwitchesCopiedFromGpuProcessHostNumSwitches); |
GetContentClient()->browser()->AppendExtraCommandLineSwitches( |
cmd_line, process_->GetData().id); |