| Index: components/metrics/stability_metrics_helper.cc
|
| diff --git a/components/metrics/stability_metrics_helper.cc b/components/metrics/stability_metrics_helper.cc
|
| index 82b31d271eb9e461470779984bc5ec0a82373748..1ba27b94987ff7dd34d148541184d41170ac6db8 100644
|
| --- a/components/metrics/stability_metrics_helper.cc
|
| +++ b/components/metrics/stability_metrics_helper.cc
|
| @@ -53,7 +53,7 @@ int MapCrashExitCodeForHistogram(int exit_code) {
|
| return std::abs(exit_code);
|
| }
|
|
|
| -void RecordChildKills(int histogram_type) {
|
| +void RecordChildKills(RendererType histogram_type) {
|
| UMA_HISTOGRAM_ENUMERATION("BrowserRenderProcessHost.ChildKills",
|
| histogram_type, RENDERER_TYPE_COUNT);
|
| }
|
| @@ -179,7 +179,7 @@ void StabilityMetricsHelper::LogLoadStarted() {
|
| void StabilityMetricsHelper::LogRendererCrash(bool was_extension_process,
|
| base::TerminationStatus status,
|
| int exit_code) {
|
| - int histogram_type =
|
| + RendererType histogram_type =
|
| was_extension_process ? RENDERER_TYPE_EXTENSION : RENDERER_TYPE_RENDERER;
|
|
|
| switch (status) {
|
|
|