Index: chrome/browser/gpu_process_host.cc |
diff --git a/chrome/browser/gpu_process_host.cc b/chrome/browser/gpu_process_host.cc |
index 4f3958bb8715d477be6eac754d06cc5fb2758e0f..371e16db19c9c4de75237e2a487a856d10f561e9 100644 |
--- a/chrome/browser/gpu_process_host.cc |
+++ b/chrome/browser/gpu_process_host.cc |
@@ -475,12 +475,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 { |