| Index: third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp b/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp
|
| index fc54817124ca19e756086b12fa273e420f79196a..8b00cf79b0146b162e29bf82637dcbca9d98b3a4 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp
|
| @@ -357,7 +357,7 @@ void HTMLMediaElementEncryptedMedia::encrypted(WebEncryptedMediaInitDataType ini
|
| WTF_LOG(Media, "HTMLMediaElementEncryptedMedia::encrypted");
|
|
|
| RefPtrWillBeRawPtr<Event> event;
|
| - if (m_mediaElement->isMediaDataCORSSameOrigin(m_mediaElement->executionContext()->securityOrigin())) {
|
| + if (m_mediaElement->isMediaDataCORSSameOrigin(m_mediaElement->getExecutionContext()->getSecurityOrigin())) {
|
| event = createEncryptedEvent(initDataType, initData, initDataLength);
|
| } else {
|
| // Current page is not allowed to see content from the media file,
|
|
|