Index: Source/bindings/v8/custom/V8MessageEventCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8MessageEventCustom.cpp b/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
index b14bb18edc3a7b7e70ef596a3156885f3645186d..92e6a25a25b1d5b927d21b0891df80d31cd9e888 100644 |
--- a/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
+++ b/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
@@ -136,12 +136,12 @@ void V8MessageEvent::dataAttributeGetterCustom(const v8::PropertyCallbackInfo<v8 |
void V8MessageEvent::initMessageEventMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
MessageEvent* event = V8MessageEvent::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, typeArg, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, typeArg, info[0]); |
V8TRYCATCH_VOID(bool, canBubbleArg, info[1]->BooleanValue()); |
V8TRYCATCH_VOID(bool, cancelableArg, info[2]->BooleanValue()); |
v8::Handle<v8::Value> dataArg = info[3]; |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, originArg, info[4]); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, lastEventIdArg, info[5]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, originArg, info[4]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, lastEventIdArg, info[5]); |
DOMWindow* sourceArg = toDOMWindow(info[6], info.GetIsolate()); |
OwnPtr<MessagePortArray> portArray; |
const int portArrayIndex = 7; |