Chromium Code Reviews| Index: Source/core/html/parser/XSSAuditor.cpp |
| diff --git a/Source/core/html/parser/XSSAuditor.cpp b/Source/core/html/parser/XSSAuditor.cpp |
| index 4c12a0b89f11cb40cc1d1bfcfc379500f229f7ce..a639578160db4f8d193a61294d8d86a541921330 100644 |
| --- a/Source/core/html/parser/XSSAuditor.cpp |
| +++ b/Source/core/html/parser/XSSAuditor.cpp |
| @@ -263,8 +263,8 @@ void XSSAuditor::init(Document* document, XSSAuditorDelegate* auditorDelegate) |
| String httpBodyAsString; |
| if (DocumentLoader* documentLoader = document->frame()->loader().documentLoader()) { |
| - DEFINE_STATIC_LOCAL(String, XSSProtectionHeader, ("X-XSS-Protection")); |
| - String headerValue = documentLoader->response().httpHeaderField(XSSProtectionHeader); |
| + DEFINE_STATIC_LOCAL(const AtomicString, XSSProtectionHeader, ("X-XSS-Protection")); |
|
tkent
2013/12/04 01:01:00
should have ConstructFromLiteral argument.
Inactive
2013/12/04 14:11:26
Done.
|
| + const AtomicString& headerValue = documentLoader->response().httpHeaderField(XSSProtectionHeader); |
| String errorDetails; |
| unsigned errorPosition = 0; |
| String reportURL; |