| Index: content/browser/gpu_process_host.cc
|
| diff --git a/content/browser/gpu_process_host.cc b/content/browser/gpu_process_host.cc
|
| index 8eda8236593bc32e1246e6fdca5360a448f3e07f..6b1e7840c4b0b3dfd9e1594c93ad66b4825c8d6e 100644
|
| --- a/content/browser/gpu_process_host.cc
|
| +++ b/content/browser/gpu_process_host.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/command_line.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/metrics/histogram.h"
|
| +#include "base/process_util.h"
|
| #include "base/string_piece.h"
|
| #include "chrome/browser/gpu_process_host_ui_shim.h"
|
| #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h"
|
| @@ -177,6 +178,10 @@ void GpuProcessHost::OnChildDied() {
|
| UMA_HISTOGRAM_ENUMERATION("GPU.GPUProcessLifetimeEvents",
|
| DIED_FIRST_TIME + g_gpu_crash_count,
|
| GPU_PROCESS_LIFETIME_EVENT_MAX);
|
| + base::TerminationStatus status = GetChildTerminationStatus(NULL);
|
| + UMA_HISTOGRAM_ENUMERATION("GPU.GPUProcessTerminationStatus",
|
| + status,
|
| + base::TERMINATION_STATUS_MAX_ENUM);
|
| BrowserChildProcessHost::OnChildDied();
|
| }
|
|
|
|
|