| Index: chrome/browser/gpu_process_host.cc
|
| diff --git a/chrome/browser/gpu_process_host.cc b/chrome/browser/gpu_process_host.cc
|
| index 8626fde855f29ac5496fb762a194e3a53adfdcde..558ac1b6a1e351e304756db212107f81e518c665 100644
|
| --- a/chrome/browser/gpu_process_host.cc
|
| +++ b/chrome/browser/gpu_process_host.cc
|
| @@ -495,12 +495,12 @@ void GpuProcessHost::OnChildDied() {
|
| BrowserChildProcessHost::OnChildDied();
|
| }
|
|
|
| -void GpuProcessHost::OnProcessCrashed() {
|
| +void GpuProcessHost::OnProcessCrashed(int exit_code) {
|
| if (++g_gpu_crash_count >= kGpuMaxCrashCount) {
|
| // The gpu process is too unstable to use. Disable it for current session.
|
| RenderViewHostDelegateHelper::set_gpu_enabled(false);
|
| }
|
| - BrowserChildProcessHost::OnProcessCrashed();
|
| + BrowserChildProcessHost::OnProcessCrashed(exit_code);
|
| }
|
|
|
| bool GpuProcessHost::CanLaunchGpuProcess() const {
|
|
|