| Index: third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp b/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| index cb7f26393261ca544ed8706aebe3d7f660e7f65f..07d8ec53e75414cb8f40b7ca1722f905c8e57b67 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| @@ -104,9 +104,10 @@ PassRefPtr<EncodedFormData> XSSAuditorDelegate::generateViolationReport(
|
| void XSSAuditorDelegate::didBlockScript(const XSSInfo& xssInfo) {
|
| ASSERT(isMainThread());
|
|
|
| - UseCounter::count(m_document, xssInfo.m_didBlockEntirePage
|
| - ? UseCounter::XSSAuditorBlockedEntirePage
|
| - : UseCounter::XSSAuditorBlockedScript);
|
| + UseCounter::count(m_document,
|
| + xssInfo.m_didBlockEntirePage
|
| + ? UseCounter::XSSAuditorBlockedEntirePage
|
| + : UseCounter::XSSAuditorBlockedScript);
|
|
|
| m_document->addConsoleMessage(ConsoleMessage::create(
|
| JSMessageSource, ErrorMessageLevel, xssInfo.buildConsoleError()));
|
|
|