Index: Source/core/html/parser/XSSAuditor.cpp |
diff --git a/Source/core/html/parser/XSSAuditor.cpp b/Source/core/html/parser/XSSAuditor.cpp |
index 5b6da26d8783df0113d11da1387ee2b67646f8eb..414741481f6d503e43097e02b1d09a959db1ecff 100644 |
--- a/Source/core/html/parser/XSSAuditor.cpp |
+++ b/Source/core/html/parser/XSSAuditor.cpp |
@@ -264,7 +264,7 @@ void XSSAuditor::init(Document* document, XSSAuditorDelegate* auditorDelegate) |
m_decodedURL = String(); |
String httpBodyAsString; |
- if (DocumentLoader* documentLoader = document->frame()->loader()->documentLoader()) { |
+ if (DocumentLoader* documentLoader = document->frame()->loader().documentLoader()) { |
DEFINE_STATIC_LOCAL(String, XSSProtectionHeader, ("X-XSS-Protection")); |
String headerValue = documentLoader->response().httpHeaderField(XSSProtectionHeader); |
String errorDetails; |