Index: Source/bindings/v8/V8AbstractEventListener.cpp |
diff --git a/Source/bindings/v8/V8AbstractEventListener.cpp b/Source/bindings/v8/V8AbstractEventListener.cpp |
index dc7453750b664b6b1ac0ce3c6ee9e2dab0438d29..3e2fb0ca9fa427dd798c7210a592422b47c10c67 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); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, stringReturnValue, returnValue); |
toBeforeUnloadEvent(event)->setReturnValue(stringReturnValue); |
} |