| Index: Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| index eb0f4a1b84f0a61796546b57faf9e79911e85527..fca0437473e002deabdd613ae6dcdaad60eafdc2 100644
|
| --- a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| @@ -172,8 +172,8 @@ void V8XMLHttpRequest::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value
|
|
|
| XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(args.Holder());
|
|
|
| - String method = toWebCoreString(args[0]);
|
| - String urlstring = toWebCoreString(args[1]);
|
| + V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, method, args[0]);
|
| + V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, urlstring, args[1]);
|
|
|
| ScriptExecutionContext* context = getScriptExecutionContext();
|
| KURL url = context->completeURL(urlstring);
|
|
|