| Index: third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp b/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp
|
| index 40ef1fcd118a8015b7f67b60e428f334877ee56b..9f79b05e40110b02fdf360f9829b6a420e7c9d8c 100644
|
| --- a/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp
|
| @@ -646,7 +646,7 @@ static bool shouldAllowExternalLoad(const KURL& url)
|
| // content. If we had more context, we could potentially allow the parser to
|
| // load a DTD. As things stand, we take the conservative route and allow
|
| // same-origin requests only.
|
| - if (!XMLDocumentParserScope::currentDocument->securityOrigin()->canRequest(url)) {
|
| + if (!XMLDocumentParserScope::currentDocument->getSecurityOrigin()->canRequest(url)) {
|
| // FIXME: This is copy/pasted. We should probably build console logging into canRequest().
|
| if (!url.isNull()) {
|
| String message = "Unsafe attempt to load URL " + url.elidedString() +
|
|
|