| 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 9e5861e3e6fe446bd48f8d29612263c436683fec..e533225c87f51db14dfd6383d5685d0dc271ca55 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -578,8 +578,12 @@ bool GpuProcessHost::Init() {
|
|
|
| if (in_process_) {
|
| DCHECK(g_gpu_main_thread_factory);
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kDisableGpuWatchdog);
|
| + CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + command_line->AppendSwitch(switches::kDisableGpuWatchdog);
|
| +
|
| + GpuDataManagerImpl* gpu_data_manager = GpuDataManagerImpl::GetInstance();
|
| + DCHECK(gpu_data_manager);
|
| + gpu_data_manager->AppendGpuCommandLine(command_line);
|
|
|
| in_process_gpu_thread_.reset(g_gpu_main_thread_factory(channel_id));
|
| in_process_gpu_thread_->Start();
|
|
|