Index: Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
index c2422eff1b6c465461b13aabcd7358c811857b21..83ccbbaca415b4e8f10f5c50b3ee63c287ac5762 100644 |
--- a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
+++ b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
@@ -57,9 +57,9 @@ void V8XMLHttpRequest::constructorCustom(const v8::FunctionCallbackInfo<v8::Valu |
RefPtr<SecurityOrigin> securityOrigin; |
if (context->isDocument()) { |
- DOMWrapperWorld* world = DOMWrapperWorld::current(info.GetIsolate()); |
- if (world->isIsolatedWorld()) |
- securityOrigin = world->isolatedWorldSecurityOrigin(); |
+ DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
+ if (world.isIsolatedWorld()) |
+ securityOrigin = world.isolatedWorldSecurityOrigin(); |
} |
RefPtrWillBeRawPtr<XMLHttpRequest> xmlHttpRequest = XMLHttpRequest::create(context, securityOrigin); |