Index: third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h b/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h |
index af12a83755d9322f68a2a352ce6383c526ea6b1d..77eeb6d2c191485aba51c4f35a3b5d336cc66a15 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h |
@@ -8,6 +8,7 @@ |
#include "bindings/core/v8/DOMWrapperWorld.h" |
#include "bindings/core/v8/ScopedPersistent.h" |
#include "core/CoreExport.h" |
+#include "core/dom/ExecutionContext.h" |
#include "core/dom/IntersectionObserverCallback.h" |
namespace blink { |
@@ -26,7 +27,7 @@ class V8IntersectionObserverCallback final |
IntersectionObserver&) override; |
ExecutionContext* GetExecutionContext() const override { |
- return script_state_->GetExecutionContext(); |
+ return ExecutionContext::From(script_state_.Get()); |
} |
private: |