Index: media/filters/audio_renderer_impl.cc |
diff --git a/media/filters/audio_renderer_impl.cc b/media/filters/audio_renderer_impl.cc |
index f08ef83b418a5fb97808f973c9428ee899243817..2cbca547f310c5055e39a1f4043911f98211fec7 100644 |
--- a/media/filters/audio_renderer_impl.cc |
+++ b/media/filters/audio_renderer_impl.cc |
@@ -27,11 +27,11 @@ namespace { |
enum AudioRendererEvent { |
INITIALIZED, |
RENDER_ERROR, |
- MAX_EVENTS |
+ EVENT_MAX = RENDER_ERROR, |
}; |
void HistogramRendererEvent(AudioRendererEvent event) { |
- UMA_HISTOGRAM_ENUMERATION("Media.AudioRendererEvents", event, MAX_EVENTS); |
+ UMA_HISTOGRAM_ENUMERATION("Media.AudioRendererEvents", event, EVENT_MAX + 1); |
} |
} // namespace |