| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| index 045d989e224efe1c97fc3050ec66871e7141eed1..ec2cd820508f6237ea85c888a8ed6b760d5aa9a4 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp
|
| @@ -81,7 +81,7 @@ void V8Document::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& inf
|
| for (int i = 0; i < info.Length(); i++)
|
| params[i] = info[i];
|
|
|
| - v8SetReturnValue(info, frame->script().callFunction(v8::Local<v8::Function>::Cast(function), global, info.Length(), params.get()));
|
| + v8SetReturnValue(info, V8ScriptRunner::callFunction(v8::Local<v8::Function>::Cast(function), frame->document(), global, info.Length(), params.get(), info.GetIsolate()));
|
| return;
|
| }
|
|
|
|
|