Chromium Code Reviews| Index: content/gpu/gpu_child_thread.cc |
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
| index 8612a66a2e0070c9d146eb11f05c60c66b7ef78e..34c1a5356a7efccecd0cee6aeef9feaa260cde4e 100644 |
| --- a/content/gpu/gpu_child_thread.cc |
| +++ b/content/gpu/gpu_child_thread.cc |
| @@ -116,7 +116,8 @@ bool GpuChildThread::OnControlMessageReceived(const IPC::Message& msg) { |
| } |
| void GpuChildThread::OnInitialize() { |
| - logging::SetLogMessageHandler(GpuProcessLogMessageHandler); |
| + if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess)) |
|
jam
2011/05/26 22:03:55
can you please add a comment about why you're doin
|
| + logging::SetLogMessageHandler(GpuProcessLogMessageHandler); |
| // Load the GL implementation and locate the bindings before starting the GPU |
| // watchdog because this can take a lot of time and the GPU watchdog might |