Index: media/filters/vpx_video_decoder.cc |
diff --git a/media/filters/vpx_video_decoder.cc b/media/filters/vpx_video_decoder.cc |
index 8f88d84f3328a9c2247e64d2ee74b3a10f42a871..949c10045db2a8563f2ca302036fa4c73dfcaa87 100644 |
--- a/media/filters/vpx_video_decoder.cc |
+++ b/media/filters/vpx_video_decoder.cc |
@@ -123,10 +123,8 @@ bool VpxVideoDecoder::ConfigureDecoder() { |
const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |
bool can_handle = false; |
- if (cmd_line->HasSwitch(switches::kEnableVp9Playback) && |
- config.codec() == kCodecVP9) { |
+ if (config.codec() == kCodecVP9) |
can_handle = true; |
- } |
if (cmd_line->HasSwitch(switches::kEnableVp8AlphaPlayback) && |
config.codec() == kCodecVP8 && config.format() == VideoFrame::YV12A) { |
can_handle = true; |