Index: Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
index 83ccbbaca415b4e8f10f5c50b3ee63c287ac5762..df51c2d6506159896652346a3e338dff9e6e46bd 100644 |
--- a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
+++ b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
@@ -170,8 +170,8 @@ void V8XMLHttpRequest::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(info.Holder()); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, method, info[0]); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, urlstring, info[1]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, method, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, urlstring, info[1]); |
ExecutionContext* context = currentExecutionContext(info.GetIsolate()); |
KURL url = context->completeURL(urlstring); |
@@ -180,10 +180,10 @@ void V8XMLHttpRequest::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
bool async = info[2]->BooleanValue(); |
if (info.Length() >= 4 && !info[3]->IsUndefined()) { |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, user, info[3]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<WithNullCheck>, user, info[3]); |
if (info.Length() >= 5 && !info[4]->IsUndefined()) { |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, password, info[4]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<WithNullCheck>, password, info[4]); |
xmlHttpRequest->open(method, url, async, user, password, exceptionState); |
} else { |
xmlHttpRequest->open(method, url, async, user, exceptionState); |
@@ -243,7 +243,7 @@ void V8XMLHttpRequest::sendMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
ASSERT(arrayBufferView); |
xmlHttpRequest->send(arrayBufferView, exceptionState); |
} else { |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithNullCheck>, argString, arg); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<WithNullCheck>, argString, arg); |
xmlHttpRequest->send(argString, exceptionState); |
} |
} |