Index: third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.cpp |
index 72614664832935970cfb9554d5a269ca83bca5e7..8ef9ca9c6a6db9bdaf5b39b0d6e61ffded826b4f 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerformanceObserverCallback.cpp |
@@ -16,7 +16,7 @@ |
namespace blink { |
V8PerformanceObserverCallback::V8PerformanceObserverCallback(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) |
{ |
@@ -58,7 +58,7 @@ void V8PerformanceObserverCallback::handleEvent(PerformanceObserverEntryList* en |
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 V8PerformanceObserverCallback::setWeakCallback(const v8::WeakCallbackInfo<V8PerformanceObserverCallback>& data) |