Index: media/base/video_decoder_config.cc |
diff --git a/media/base/video_decoder_config.cc b/media/base/video_decoder_config.cc |
index 82d607526bb48c17914e36d7a01e1fb16c462566..d2b6e410103e4a066c9b971a9376a30d3caa48c9 100644 |
--- a/media/base/video_decoder_config.cc |
+++ b/media/base/video_decoder_config.cc |
@@ -77,7 +77,7 @@ void VideoDecoderConfig::Initialize(VideoCodec codec, |
UMA_HISTOGRAM_COUNTS_10000("Media.VideoVisibleWidth", visible_rect.width()); |
UmaHistogramAspectRatio("Media.VideoVisibleAspectRatio", visible_rect); |
UMA_HISTOGRAM_ENUMERATION( |
- "Media.VideoPixelFormat", format, VideoFrame::HISTOGRAM_MAX); |
+ "Media.VideoPixelFormat", format, VideoFrame::FORMAT_MAX + 1); |
} |
codec_ = codec; |