| Index: Source/web/WebMediaPlayerClientImpl.cpp
|
| diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp
|
| index e326a2e30c029c7236e0957bc7e2f353dcb365f8..148aca483a590a9fda922392fab5a9f4a22bd1f0 100644
|
| --- a/Source/web/WebMediaPlayerClientImpl.cpp
|
| +++ b/Source/web/WebMediaPlayerClientImpl.cpp
|
| @@ -11,7 +11,6 @@
|
| #include "core/rendering/RenderView.h"
|
| #include "core/rendering/compositing/RenderLayerCompositor.h"
|
| #include "modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h"
|
| -#include "modules/encryptedmedia/MediaKeyNeededEvent.h"
|
| #include "modules/mediastream/MediaStreamRegistry.h"
|
| #include "platform/audio/AudioBus.h"
|
| #include "platform/audio/AudioSourceProviderClient.h"
|
| @@ -126,7 +125,12 @@ void WebMediaPlayerClientImpl::keyMessage(const WebString& keySystem, const WebS
|
|
|
| void WebMediaPlayerClientImpl::keyNeeded(const WebString& contentType, const unsigned char* initData, unsigned initDataLength)
|
| {
|
| - HTMLMediaElementEncryptedMedia::keyNeeded(mediaElement(), contentType, initData, initDataLength);
|
| + HTMLMediaElementEncryptedMedia::encrypted(mediaElement(), contentType, initData, initDataLength);
|
| +}
|
| +
|
| +void WebMediaPlayerClientImpl::encrypted(const WebString& initDataType, const unsigned char* initData, unsigned initDataLength)
|
| +{
|
| + HTMLMediaElementEncryptedMedia::encrypted(mediaElement(), initDataType, initData, initDataLength);
|
| }
|
|
|
| void WebMediaPlayerClientImpl::setWebLayer(WebLayer* layer)
|
|
|