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 3d97655a205c542487f6fd7eabb7a1614028e698..0acc861acd68b9163a92ed550509d0c65125cd73 100644 |
--- a/Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp |
@@ -52,24 +52,6 @@ |
namespace blink { |
-void V8XMLHttpRequest::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
-{ |
- ExecutionContext* context = currentExecutionContext(info.GetIsolate()); |
- |
- RefPtr<SecurityOrigin> securityOrigin; |
- if (context->isDocument()) { |
- DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
- if (world.isIsolatedWorld()) |
- securityOrigin = world.isolatedWorldSecurityOrigin(); |
- } |
- |
- RefPtrWillBeRawPtr<XMLHttpRequest> xmlHttpRequest = XMLHttpRequest::create(context, securityOrigin); |
- |
- v8::Handle<v8::Object> wrapper = info.Holder(); |
- xmlHttpRequest->associateWithWrapper(info.GetIsolate(), xmlHttpRequest->wrapperTypeInfo(), wrapper); |
- info.GetReturnValue().Set(wrapper); |
-} |
- |
void V8XMLHttpRequest::responseTextAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
XMLHttpRequest* xmlHttpRequest = V8XMLHttpRequest::toImpl(info.Holder()); |