Index: third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp |
index d600d096eb5a7886b7ef081fab6e792f19c72530..78066bf15ce539d8c80c7be27ad1ae382eef2361 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8DocumentCustom.cpp |
@@ -85,7 +85,7 @@ void V8Document::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& inf |
} |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "open", "Document", info.Holder(), info.GetIsolate()); |
- document->open(callingDOMWindow(info.GetIsolate())->document(), exceptionState); |
+ document->open(enteredDOMWindow(info.GetIsolate())->document(), exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |