| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 327ccfd7a8de28705e711b5d2d29e61d826b903c..24119a17353f3f75b4b7e736607e21801ec58927 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -774,6 +774,17 @@ void WebLocalFrameImpl::requestExecuteScriptAndReturnValue(
|
| frame(), 0, createSourcesVector(&source, 1), 0, userGesture, callback);
|
| }
|
|
|
| +void WebLocalFrameImpl::requestExecuteV8Function(
|
| + v8::Local<v8::Function> function,
|
| + v8::Local<v8::Value> receiver,
|
| + int argc,
|
| + v8::Local<v8::Value> argv[],
|
| + WebScriptExecutionCallback* callback) {
|
| + DCHECK(frame());
|
| + SuspendableScriptExecutor::createAndRun(frame(), toIsolate(frame()), function,
|
| + receiver, argc, argv, callback);
|
| +}
|
| +
|
| void WebLocalFrameImpl::executeScriptInIsolatedWorld(
|
| int worldID,
|
| const WebScriptSource* sourcesIn,
|
|
|