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

Unified Diff: content/renderer/media/webmediaplayer_util.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/webmediaplayer_util.cc
diff --git a/content/renderer/media/webmediaplayer_util.cc b/content/renderer/media/webmediaplayer_util.cc
index ed7e0cdfd6bd3b04709fc3f25fe65573678bc590..71877434a2b75115e0a3d525ed9f659907feccc1 100644
--- a/content/renderer/media/webmediaplayer_util.cc
+++ b/content/renderer/media/webmediaplayer_util.cc
@@ -71,7 +71,6 @@ blink::WebMediaPlayer::NetworkState PipelineErrorToNetworkState(
return blink::WebMediaPlayer::NetworkStateDecodeError;
case media::PIPELINE_OK:
- case media::PIPELINE_STATUS_MAX:
NOTREACHED() << "Unexpected status! " << error;
}
return blink::WebMediaPlayer::NetworkStateFormatError;

Powered by Google App Engine
This is Rietveld 408576698