| Index: Source/bindings/v8/ScriptEventListener.cpp
|
| diff --git a/Source/bindings/v8/ScriptEventListener.cpp b/Source/bindings/v8/ScriptEventListener.cpp
|
| index a3c258899b1e998a8d9449ed9b0e75bac36e0d7b..0c5c9b57e38c649733930247e747c3d81ff0b4a5 100644
|
| --- a/Source/bindings/v8/ScriptEventListener.cpp
|
| +++ b/Source/bindings/v8/ScriptEventListener.cpp
|
| @@ -107,7 +107,8 @@ String eventListenerHandlerBody(Document* document, EventListener* listener)
|
| if (function.IsEmpty())
|
| return "";
|
|
|
| - return toWebCoreStringWithNullCheck(function);
|
| + V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithNullCheck>, functionString, function, "");
|
| + return functionString;
|
| }
|
|
|
| ScriptValue eventListenerHandler(Document* document, EventListener* listener)
|
|
|