| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| index 29ba34b388fae3d211e2d5246a0ffd2ad02fb802..63c6b397748986b0ea1ee3180b522575ed939a19 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -745,7 +745,7 @@ PassRefPtrWillBeRawPtr<DocumentWriter> DocumentLoader::createWriterFor(const Doc
|
| RefPtrWillBeRawPtr<Document> document = frame->localDOMWindow()->installNewDocument(mimeType, init);
|
| if (ownerDocument) {
|
| document->setCookieURL(ownerDocument->cookieURL());
|
| - document->setSecurityOrigin(ownerDocument->securityOrigin());
|
| + document->updateSecurityOrigin(ownerDocument->securityOrigin());
|
| }
|
|
|
| frame->loader().didBeginDocument(dispatch);
|
|
|