| 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 0966386a2c552ad0d07faa615b78b1da86914425..680232726c6d5475f2c98499578541948ee4d58d 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -57,6 +57,7 @@
|
| #include "content/public/common/service_names.mojom.h"
|
| #include "gpu/command_buffer/service/gpu_preferences.h"
|
| #include "gpu/command_buffer/service/gpu_switches.h"
|
| +#include "gpu/config/gpu_driver_bug_list.h"
|
| #include "gpu/ipc/host/shader_disk_cache.h"
|
| #include "gpu/ipc/service/switches.h"
|
| #include "ipc/ipc_channel_handle.h"
|
| @@ -1056,6 +1057,11 @@ bool GpuProcessHost::LaunchGpuProcess(gpu::GpuPreferences* gpu_preferences) {
|
| browser_command_line, switches::kGLSwitchesCopiedFromGpuProcessHost,
|
| switches::kGLSwitchesCopiedFromGpuProcessHostNumSwitches);
|
|
|
| + std::vector<const char*> gpu_workarounds;
|
| + gpu::GpuDriverBugList::AppendAllWorkarounds(&gpu_workarounds);
|
| + cmd_line->CopySwitchesFrom(browser_command_line,
|
| + gpu_workarounds.data(), gpu_workarounds.size());
|
| +
|
| GetContentClient()->browser()->AppendExtraCommandLineSwitches(
|
| cmd_line.get(), process_->GetData().id);
|
|
|
|
|