Index: Source/bindings/v8/V8AbstractEventListener.cpp |
diff --git a/Source/bindings/v8/V8AbstractEventListener.cpp b/Source/bindings/v8/V8AbstractEventListener.cpp |
index dc7453750b664b6b1ac0ce3c6ee9e2dab0438d29..d9b99058814ff9c6dcf7343f6aa549099ac6f7e2 100644 |
--- a/Source/bindings/v8/V8AbstractEventListener.cpp |
+++ b/Source/bindings/v8/V8AbstractEventListener.cpp |
@@ -146,7 +146,7 @@ void V8AbstractEventListener::invokeEventHandler(ExecutionContext* context, Even |
return; |
if (m_isAttribute && !returnValue->IsNull() && !returnValue->IsUndefined() && event->isBeforeUnloadEvent()) { |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringReturnValue, returnValue); |
+ TOSTRING_VOID(V8StringResource<>, stringReturnValue, returnValue); |
toBeforeUnloadEvent(event)->setReturnValue(stringReturnValue); |
} |