Index: third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.cpp b/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.cpp |
index 5abf33f35096b3a9551c3c46dffb39c386cbe3d7..37fd6d40a01542f9166078a45dedfb3a6f525543 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.cpp |
@@ -13,7 +13,7 @@ |
namespace blink { |
V8IntersectionObserverCallback::V8IntersectionObserverCallback(v8::Local<v8::Function> callback, v8::Local<v8::Object> owner, ScriptState* scriptState) |
- : ActiveDOMCallback(scriptState->executionContext()) |
+ : ActiveDOMCallback(scriptState->getExecutionContext()) |
, m_callback(scriptState->isolate(), callback) |
, m_scriptState(scriptState) |
{ |
@@ -55,7 +55,7 @@ void V8IntersectionObserverCallback::handleEvent(const HeapVector<Member<Interse |
v8::TryCatch exceptionCatcher(m_scriptState->isolate()); |
exceptionCatcher.SetVerbose(true); |
- ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), thisObject, 2, argv, m_scriptState->isolate()); |
+ ScriptController::callFunction(m_scriptState->getExecutionContext(), m_callback.newLocal(m_scriptState->isolate()), thisObject, 2, argv, m_scriptState->isolate()); |
} |
void V8IntersectionObserverCallback::setWeakCallback(const v8::WeakCallbackInfo<V8IntersectionObserverCallback>& data) |