Chromium Code Reviews| 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 8b3cd3a7c6a5aee76b2e238b2700a29ec8949cb4..00818726d1cb32d44bab2b5f6955571130a3d4d5 100644 |
| --- a/content/browser/gpu/gpu_process_host.cc |
| +++ b/content/browser/gpu/gpu_process_host.cc |
| @@ -583,7 +583,8 @@ bool GpuProcessHost::Init() { |
| if (channel_id.empty()) |
| return false; |
| - if (in_process_ && g_gpu_main_thread_factory) { |
| + if (in_process_) { |
| + CHECK(g_gpu_main_thread_factory); |
|
piman
2013/11/07 22:09:52
Should be DCHECK.
dshwang
2013/11/08 10:05:56
yes. but it will crash in next line.
in_process_gp
|
| CommandLine::ForCurrentProcess()->AppendSwitch( |
| switches::kDisableGpuWatchdog); |