Index: third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp b/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp |
index b12969e8869bc08bba9f70c7883c0113b7239e36..e10aca530dff88b30f66bd36cf0918c5ca16af1d 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp |
@@ -178,7 +178,8 @@ void V8V0CustomElementLifecycleCallbacks::Created(Element* element) { |
v8::TryCatch exception_catcher(isolate); |
exception_catcher.SetVerbose(true); |
- V8ScriptRunner::CallFunction(callback, script_state_->GetExecutionContext(), |
+ V8ScriptRunner::CallFunction(callback, |
+ ExecutionContext::From(script_state_.Get()), |
receiver, 0, 0, isolate); |
} |
@@ -220,7 +221,8 @@ void V8V0CustomElementLifecycleCallbacks::AttributeChanged( |
v8::TryCatch exception_catcher(isolate); |
exception_catcher.SetVerbose(true); |
- V8ScriptRunner::CallFunction(callback, script_state_->GetExecutionContext(), |
+ V8ScriptRunner::CallFunction(callback, |
+ ExecutionContext::From(script_state_.Get()), |
receiver, WTF_ARRAY_LENGTH(argv), argv, isolate); |
} |
@@ -245,7 +247,8 @@ void V8V0CustomElementLifecycleCallbacks::Call( |
v8::TryCatch exception_catcher(isolate); |
exception_catcher.SetVerbose(true); |
- V8ScriptRunner::CallFunction(callback, script_state_->GetExecutionContext(), |
+ V8ScriptRunner::CallFunction(callback, |
+ ExecutionContext::From(script_state_.Get()), |
receiver, 0, 0, isolate); |
} |