Chromium Code Reviews| Index: content/child/runtime_features.cc |
| diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
| index 9fcb6573ef1d33ab6b5b74d198c9c8f5cfcc3627..0a512513f4b59a3eb16b56749cc0ca2a0ab11ce0 100644 |
| --- a/content/child/runtime_features.cc |
| +++ b/content/child/runtime_features.cc |
| @@ -19,23 +19,12 @@ |
| #include "ui/gl/gl_switches.h" |
| #include "ui/native_theme/native_theme_switches.h" |
| -#if defined(OS_ANDROID) |
| -#include <cpu-features.h> |
| -#include "base/android/build_info.h" |
| -#include "media/base/android/media_codec_util.h" |
| -#endif |
| - |
| using blink::WebRuntimeFeatures; |
| namespace content { |
| static void SetRuntimeFeatureDefaultsForPlatform() { |
| #if defined(OS_ANDROID) |
| - // EME implementation needs Android MediaCodec API. |
| - if (!media::MediaCodecUtil::IsMediaCodecAvailable()) { |
| - WebRuntimeFeatures::enableEncryptedMedia(false); |
| - } |
|
xhwang
2016/02/27 01:42:45
So will we just reject all rMKSA calls on platform
ddorwin
2016/02/27 01:49:02
For Clear Key (with the unified media pipeline), e
ddorwin
2016/02/27 05:23:44
I posted my thoughts in https://bugs.chromium.org/
|
| - |
| // Android does not have support for PagePopup |
| WebRuntimeFeatures::enablePagePopup(false); |
| // Android does not yet support SharedWorker. crbug.com/154571 |
| @@ -81,9 +70,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
| if (command_line.HasSwitch(switches::kDisableDatabases)) |
| WebRuntimeFeatures::enableDatabase(false); |
| - if (command_line.HasSwitch(switches::kDisableMediaSource)) |
| - WebRuntimeFeatures::enableMediaSource(false); |
| - |
| if (command_line.HasSwitch(switches::kDisableNotifications)) { |
| WebRuntimeFeatures::enableNotifications(false); |