Index: Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp b/Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp |
index 209844cff68c715cfa3d07848126f8c1ede34768..415a88cce74c7adcb221a5abc59ef8915b87bc98 100644 |
--- a/Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp |
@@ -73,7 +73,7 @@ void V8XMLHttpRequest::constructorCustom(const v8::FunctionCallbackInfo<v8::Valu |
void V8XMLHttpRequest::responseTextAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
- XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(info.Holder()); |
+ XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toImpl(info.Holder()); |
ExceptionState exceptionState(ExceptionState::GetterContext, "responseText", "XMLHttpRequest", info.Holder(), info.GetIsolate()); |
ScriptString text = xmlHttpRequest->responseText(exceptionState); |
if (exceptionState.throwIfNeeded()) |
@@ -87,7 +87,7 @@ void V8XMLHttpRequest::responseTextAttributeGetterCustom(const v8::PropertyCallb |
void V8XMLHttpRequest::responseAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
- XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(info.Holder()); |
+ XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toImpl(info.Holder()); |
switch (xmlHttpRequest->responseTypeCode()) { |
case XMLHttpRequest::ResponseTypeDefault: |
@@ -174,7 +174,7 @@ void V8XMLHttpRequest::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
return; |
} |
- XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(info.Holder()); |
+ XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toImpl(info.Holder()); |
TOSTRING_VOID(V8StringResource<>, method, info[0]); |
TOSTRING_VOID(V8StringResource<>, urlstring, info[1]); |
@@ -212,7 +212,7 @@ static bool isDocumentType(v8::Handle<v8::Value> value, v8::Isolate* isolate) |
void V8XMLHttpRequest::sendMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
- XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toNative(info.Holder()); |
+ XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toImpl(info.Holder()); |
InspectorInstrumentation::willSendXMLHttpRequest(xmlHttpRequest->executionContext(), xmlHttpRequest->url()); |
@@ -225,27 +225,27 @@ void V8XMLHttpRequest::sendMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
xmlHttpRequest->send(exceptionState); |
} else if (isDocumentType(arg, info.GetIsolate())) { |
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(arg); |
- Document* document = V8Document::toNative(object); |
+ Document* document = V8Document::toImpl(object); |
ASSERT(document); |
xmlHttpRequest->send(document, exceptionState); |
} else if (V8Blob::hasInstance(arg, info.GetIsolate())) { |
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(arg); |
- Blob* blob = V8Blob::toNative(object); |
+ Blob* blob = V8Blob::toImpl(object); |
ASSERT(blob); |
xmlHttpRequest->send(blob, exceptionState); |
} else if (V8FormData::hasInstance(arg, info.GetIsolate())) { |
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(arg); |
- DOMFormData* domFormData = V8FormData::toNative(object); |
+ DOMFormData* domFormData = V8FormData::toImpl(object); |
ASSERT(domFormData); |
xmlHttpRequest->send(domFormData, exceptionState); |
} else if (V8ArrayBuffer::hasInstance(arg, info.GetIsolate())) { |
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(arg); |
- ArrayBuffer* arrayBuffer = V8ArrayBuffer::toNative(object); |
+ ArrayBuffer* arrayBuffer = V8ArrayBuffer::toImpl(object); |
ASSERT(arrayBuffer); |
xmlHttpRequest->send(arrayBuffer, exceptionState); |
} else if (V8ArrayBufferView::hasInstance(arg, info.GetIsolate())) { |
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(arg); |
- ArrayBufferView* arrayBufferView = V8ArrayBufferView::toNative(object); |
+ ArrayBufferView* arrayBufferView = V8ArrayBufferView::toImpl(object); |
ASSERT(arrayBufferView); |
xmlHttpRequest->send(arrayBufferView, exceptionState); |
} else { |