Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2522)

Unified Diff: content/renderer/media/rtc_video_encoder.cc

Issue 148553003: Clean up histogram'd media enum max values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/rtc_video_encoder.cc
diff --git a/content/renderer/media/rtc_video_encoder.cc b/content/renderer/media/rtc_video_encoder.cc
index 890ff7be8c44a25a98d55ad72d58cafa1f902236..2ab99db17fd6b7c9aae4c876d0e7d0498e2ac0ad 100644
--- a/content/renderer/media/rtc_video_encoder.cc
+++ b/content/renderer/media/rtc_video_encoder.cc
@@ -655,7 +655,7 @@ void RTCVideoEncoder::RecordInitEncodeUMA(int32_t init_retval) {
if (init_retval == WEBRTC_VIDEO_CODEC_OK) {
UMA_HISTOGRAM_ENUMERATION("Media.RTCVideoEncoderProfile",
video_codec_profile_,
- media::VIDEO_CODEC_PROFILE_MAX);
+ media::VIDEO_CODEC_PROFILE_MAX + 1);
}
}

Powered by Google App Engine
This is Rietveld 408576698