| Index: media/blink/webmediaplayer_impl.cc
|
| diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
|
| index 4f966ebf9b0d1678c71463ecea8b49666d1a02eb..24ab79bfc576bf53aed0dc59f040d6e74e1bab64 100644
|
| --- a/media/blink/webmediaplayer_impl.cc
|
| +++ b/media/blink/webmediaplayer_impl.cc
|
| @@ -57,7 +57,6 @@
|
| #include "third_party/WebKit/public/web/WebDocument.h"
|
| #include "third_party/WebKit/public/web/WebFrame.h"
|
| #include "third_party/WebKit/public/web/WebLocalFrame.h"
|
| -#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
|
| #include "third_party/WebKit/public/web/WebView.h"
|
|
|
| using blink::WebCanvas;
|
| @@ -829,12 +828,6 @@ void WebMediaPlayerImpl::OnEncryptedMediaInitData(
|
| const std::vector<uint8_t>& init_data) {
|
| DCHECK(init_data_type != EmeInitDataType::UNKNOWN);
|
|
|
| - // Do not fire the "encrypted" event if Encrypted Media is not enabled.
|
| - // EME may not be enabled on Android Jelly Bean.
|
| - if (!blink::WebRuntimeFeatures::isEncryptedMediaEnabled()) {
|
| - return;
|
| - }
|
| -
|
| // TODO(xhwang): Update this UMA name. https://crbug.com/589251
|
| UMA_HISTOGRAM_COUNTS("Media.EME.NeedKey", 1);
|
|
|
|
|