| Index: Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| index 86ed344ea6f0a49ab9760b54de0b58df8be4f69c..9fab4af967e0388d85f6cb01970ab3c5348757e9 100644
|
| --- a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| @@ -58,7 +58,8 @@ void V8XMLHttpRequest::constructorCustom(const v8::FunctionCallbackInfo<v8::Valu
|
|
|
| RefPtr<SecurityOrigin> securityOrigin;
|
| if (context->isDocument()) {
|
| - if (DOMWrapperWorld* world = isolatedWorldForEnteredContext(info.GetIsolate()))
|
| + DOMWrapperWorld* world = DOMWrapperWorld::current(info.GetIsolate());
|
| + if (world->isIsolatedWorld())
|
| securityOrigin = world->isolatedWorldSecurityOrigin();
|
| }
|
|
|
|
|