| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index 1b7da1c8d7c1955e64182bf681ac4e0070248a5e..ccafc96592026647f01299f126276eecc9020011 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -28,6 +28,8 @@
|
| #include "content/port/browser/render_widget_host_view_frame_subscriber.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/content_browser_client.h"
|
| +#include "content/public/browser/notification_service.h"
|
| +#include "content/public/browser/notification_types.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_widget_host_view.h"
|
| #include "content/public/common/content_client.h"
|
| @@ -520,10 +522,10 @@ GpuProcessHost::~GpuProcessHost() {
|
| }
|
|
|
| std::string message;
|
| + base::TerminationStatus status = base::TERMINATION_STATUS_NORMAL_TERMINATION;
|
| if (!in_process_) {
|
| int exit_code;
|
| - base::TerminationStatus status = process_->GetTerminationStatus(
|
| - false /* known_dead */, &exit_code);
|
| + status = process_->GetTerminationStatus(false /* known_dead */, &exit_code);
|
| UMA_HISTOGRAM_ENUMERATION("GPU.GPUProcessTerminationStatus",
|
| status,
|
| base::TERMINATION_STATUS_MAX_ENUM);
|
| @@ -559,6 +561,7 @@ GpuProcessHost::~GpuProcessHost() {
|
| FROM_HERE,
|
| base::Bind(&GpuProcessHostUIShim::Destroy,
|
| host_id_,
|
| + status,
|
| message));
|
| }
|
|
|
|
|