| Index: content/common/gpu/gpu_command_buffer_stub.cc
|
| diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
|
| index 87035bf9796f85ec2cc57820c4727970f2df6d9f..d0ed3d1c42908ca3b99bd7de42dc60870fad4c93 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -1142,10 +1142,9 @@ bool GpuCommandBufferStub::CheckContextLost() {
|
| switches::kInProcessGPU)) {
|
| LOG(ERROR) << "Exiting GPU process because some drivers cannot recover"
|
| << " from problems.";
|
| -#if defined(OS_WIN)
|
| - base::win::SetShouldCrashOnProcessDetach(false);
|
| -#endif
|
| - exit(0);
|
| + // Signal the message loop to quit to shut down other threads
|
| + // gracefully.
|
| + base::MessageLoop::current()->QuitNow();
|
| }
|
|
|
| // Lose all other contexts if the reset was triggered by the robustness
|
|
|