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

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: Created 6 years, 11 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 83e49d656136d8b5f0a71c28e6f816688c32eb83..dcc9c7da05ee5737a53996ef4db6bb5f7473e1bb 100644
--- a/content/renderer/media/rtc_video_encoder.cc
+++ b/content/renderer/media/rtc_video_encoder.cc
@@ -660,7 +660,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);
rileya (GONE FROM CHROMIUM) 2014/01/27 20:59:38 This was actually a bug, as the enum max was set p
+ media::VIDEO_CODEC_PROFILE_HISTOGRAM_MAX);
}
}

Powered by Google App Engine
This is Rietveld 408576698