| Index: chrome/browser/gpu_process_host.cc
|
| diff --git a/chrome/browser/gpu_process_host.cc b/chrome/browser/gpu_process_host.cc
|
| index 9ecc5522315d95b599707f472973f33989286c59..c463672a23f4f33cad11ea37998017ca846ee9cd 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 {
|
| @@ -536,4 +536,3 @@ bool GpuProcessHost::LaunchGpuProcess() {
|
| kLaunched, kGPUProcessLifetimeEvent_Max);
|
| return true;
|
| }
|
| -
|
|
|