Index: third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp b/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp |
index 069bba1538f179ac3e66dbeed9dde16244f32586..54b8cff2b2a2f62d945be13281e181c3c096a9f0 100644 |
--- a/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp |
@@ -344,7 +344,7 @@ void XSSAuditor::init(Document* document, XSSAuditorDelegate* auditorDelegate) |
m_didSendValidXSSProtectionHeader = xssProtectionHeader != ReflectedXSSUnset && xssProtectionHeader != ReflectedXSSInvalid; |
if ((xssProtectionHeader == FilterReflectedXSS || xssProtectionHeader == BlockReflectedXSS) && !reportURL.isEmpty()) { |
xssProtectionReportURL = document->completeURL(reportURL); |
- if (MixedContentChecker::isMixedContent(document->securityOrigin(), xssProtectionReportURL)) { |
+ if (MixedContentChecker::isMixedContent(document->getSecurityOrigin(), xssProtectionReportURL)) { |
errorDetails = "insecure reporting URL for secure page"; |
xssProtectionHeader = ReflectedXSSInvalid; |
xssProtectionReportURL = KURL(); |