Index: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
index 37faf3f4ce398e8efdbaf8de3641a2faf978ddc6..1bd121926255e59d372c65576da5cd1b846270be 100644 |
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp |
@@ -39,4 +39,10 @@ void ThreadDebugger::eventListeners(v8::Isolate* isolate, v8::Local<v8::Value> v |
InspectorDOMDebuggerAgent::eventListenersInfoForTarget(isolate, value, result); |
} |
+v8::MaybeLocal<v8::Value> ThreadDebugger::callFunction(v8::Local<v8::Function> function, v8::Local<v8::Context> context, v8::Local<v8::Value> receiver, int argc, v8::Local<v8::Value> info[]) |
+{ |
+ ScriptState* scriptState = ScriptState::from(context); |
+ return V8ScriptRunner::callFunction(function, scriptState->executionContext(), receiver, argc, info, m_isolate); |
+} |
+ |
} // namespace blink |