Index: Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
index 86c26fd7129bc9f3cce892aad5eb469c2ed66671..4e5fba3a73c4ac2cd4e704627866b17f2dc9fcc4 100644 |
--- a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
+++ b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
@@ -72,7 +72,7 @@ void V8XMLHttpRequest::constructorCustom(const v8::FunctionCallbackInfo<v8::Valu |
void V8XMLHttpRequest::responseTextAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(info.Holder()); |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(info.Holder(), info.GetIsolate()); |
ScriptValue text = xmlHttpRequest->responseText(es); |
if (es.throwIfNeeded()) |
return; |
@@ -97,7 +97,7 @@ void V8XMLHttpRequest::responseAttributeGetterCustom(const v8::PropertyCallbackI |
{ |
v8::Isolate* isolate = info.GetIsolate(); |
- ExceptionState es(isolate); |
+ ExceptionState es(info.Holder(), info.GetIsolate()); |
ScriptString jsonSource = xmlHttpRequest->responseJSONSource(); |
if (es.throwIfNeeded()) |
return; |
@@ -122,7 +122,7 @@ void V8XMLHttpRequest::responseAttributeGetterCustom(const v8::PropertyCallbackI |
case XMLHttpRequest::ResponseTypeDocument: |
{ |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(info.Holder(), info.GetIsolate()); |
Document* document = xmlHttpRequest->responseXML(es); |
if (es.throwIfNeeded()) |
return; |
@@ -177,7 +177,7 @@ void V8XMLHttpRequest::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
ExecutionContext* context = getExecutionContext(); |
KURL url = context->completeURL(urlstring); |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(info.Holder(), info.GetIsolate()); |
if (info.Length() >= 3) { |
bool async = info[2]->BooleanValue(); |
@@ -213,7 +213,7 @@ void V8XMLHttpRequest::sendMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
InspectorInstrumentation::willSendXMLHttpRequest(xmlHttpRequest->executionContext(), xmlHttpRequest->url()); |
- ExceptionState es(info.GetIsolate()); |
+ ExceptionState es(info.Holder(), info.GetIsolate()); |
if (info.Length() < 1) |
xmlHttpRequest->send(es); |
else { |