| Index: third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
|
| index 38fe4807ae6a0a55c1570ebf1837d7653a4f52dc..5fceee8b952698482f3d800676b45d95a08a27e7 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
|
| @@ -13,6 +13,7 @@
|
| #include "core/dom/DOMException.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/frame/Deprecation.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| @@ -266,7 +267,7 @@
|
| const HeapVector<MediaKeySystemConfiguration>& supported_configurations) {
|
| DVLOG(3) << __func__;
|
|
|
| - ExecutionContext* execution_context = script_state->GetExecutionContext();
|
| + ExecutionContext* execution_context = ExecutionContext::From(script_state);
|
| Document* document = ToDocument(execution_context);
|
|
|
| // From https://w3c.github.io/encrypted-media/#common-key-systems
|
|
|