| Index: Source/bindings/core/v8/V8LazyEventListener.cpp
|
| diff --git a/Source/bindings/core/v8/V8LazyEventListener.cpp b/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| index 3fc29547fb73621a906217774df46a36d9652562..1ce1d1f75ea90f8af50999d8d08441dbab3a955a 100644
|
| --- a/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| +++ b/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| @@ -160,8 +160,8 @@ void V8LazyEventListener::prepareListenerObject(ExecutionContext* executionConte
|
|
|
| v8::Handle<v8::String> codeExternalString = v8String(isolate(), code);
|
|
|
| - v8::Local<v8::Value> result = V8ScriptRunner::compileAndRunInternalScript(codeExternalString, isolate(), m_sourceURL, m_position);
|
| - if (result.IsEmpty())
|
| + v8::Local<v8::Value> result;
|
| + if (!V8ScriptRunner::compileAndRunInternalScript(codeExternalString, isolate(), m_sourceURL, m_position).ToLocal(&result))
|
| return;
|
|
|
| // Call the outer function to get the inner function.
|
|
|