| Index: Source/bindings/core/v8/V8LazyEventListener.cpp
|
| diff --git a/Source/bindings/core/v8/V8LazyEventListener.cpp b/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| index 81f134dec1138b514b65df15304bafbc5f31ef29..36caf8b45041dff240b953c35388c6b5a3d02e0f 100644
|
| --- a/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| +++ b/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| @@ -95,7 +95,10 @@ v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(ScriptState* scri
|
| return v8::Local<v8::Value>();
|
|
|
| v8::Local<v8::Value> parameters[1] = { jsEvent };
|
| - return frame->script().callFunction(handlerFunction, receiver, WTF_ARRAY_LENGTH(parameters), parameters);
|
| + v8::Local<v8::Value> result;
|
| + if (!frame->script().callFunction(handlerFunction, receiver, WTF_ARRAY_LENGTH(parameters), parameters).ToLocal(&result))
|
| + return v8::Local<v8::Value>();
|
| + return result;
|
| }
|
|
|
| static void V8LazyEventListenerToString(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|