| Index: content/child/runtime_features.cc
|
| diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
|
| index c7a8f476d799c7b13b8e543c6e4a876b28f4aff3..b627ef1055a9b4ca6877d6b5de89cf300c55e227 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);
|
| - }
|
| -
|
| // 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);
|
|
|
|
|