| Index: third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
|
| index 9a460ddeb0cf448e40230c7d999b84175ac0fcd8..b35c509c2cf782742d1d87ea594300cda8014b7c 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp
|
| @@ -116,7 +116,7 @@ v8::Local<v8::Value> V8EventListener::callListenerFunction(ScriptState* scriptSt
|
|
|
| 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;
|
| }
|
|
|