Chromium Code Reviews| Index: media/base/media.cc |
| diff --git a/media/base/media.cc b/media/base/media.cc |
| index 38daf05b8edd18960083a6eec0b38b5f9c298c79..7c2a0d8c797e25b2320fcbd138f5ea1208b0f254 100644 |
| --- a/media/base/media.cc |
| +++ b/media/base/media.cc |
| @@ -87,15 +87,8 @@ bool PlatformHasOpusSupport() { |
| return base::android::BuildInfo::GetInstance()->sdk_int() >= 21; |
| } |
| -bool IsUnifiedMediaPipelineEnabled() { |
| - return !base::CommandLine::ForCurrentProcess()->HasSwitch( |
| - switches::kDisableUnifiedMediaPipeline); |
| -} |
| - |
| bool ArePlatformDecodersAvailable() { |
|
xhwang
2017/02/08 02:46:01
Maybe we only need HasPlatformDecoderSupport() now
tguilbert
2017/02/09 02:32:17
I made the switch to HasPlatformDecoderSupport(),
|
| - return IsUnifiedMediaPipelineEnabled() |
| - ? HasPlatformDecoderSupport() |
| - : MediaCodecUtil::IsMediaCodecAvailable(); |
| + return HasPlatformDecoderSupport(); |
| } |
| #endif |