| Index: third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| index 5d8d58911e731ab3707344e0b367edb2b97b4e37..633e5e074c67d4772d8c5df00a3f760ee7dcdb5b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| @@ -97,7 +97,7 @@ v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(ScriptState* scri
|
|
|
| v8::Local<v8::Value> parameters[1] = { jsEvent };
|
| v8::Local<v8::Value> result;
|
| - if (!frame->script().callFunction(handlerFunction, receiver, WTF_ARRAY_LENGTH(parameters), parameters).ToLocal(&result))
|
| + if (!V8ScriptRunner::callFunction(handlerFunction, frame->document(), receiver, WTF_ARRAY_LENGTH(parameters), parameters, scriptState->isolate()).ToLocal(&result))
|
| return v8::Local<v8::Value>();
|
| return result;
|
| }
|
|
|