Index: third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp |
index 064ca77f6fc9d46be41fcadaf19854aa6685c8a3..a0df1f30b47a01bfe3d4f314a57cf259f4a71293 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp |
@@ -9,6 +9,7 @@ |
#include "core/dom/DOMException.h" |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
+#include "core/dom/ExecutionContext.h" |
#include "core/frame/LocalDOMWindow.h" |
#include "core/frame/LocalFrame.h" |
#include "core/frame/Navigator.h" |
@@ -46,7 +47,7 @@ |
ScriptPromise PresentationReceiver::connectionList(ScriptState* script_state) { |
if (!connection_list_property_) |
connection_list_property_ = |
- new ConnectionListProperty(script_state->GetExecutionContext(), this, |
+ new ConnectionListProperty(ExecutionContext::From(script_state), this, |
ConnectionListProperty::kReady); |
if (!connection_list_->IsEmpty() && connection_list_property_->GetState() == |