| 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 0112438c3830b553f55acc39426df6e702790b51..bbf0cb144a1743287c419ee4a1eed420b1117a04 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp
|
| @@ -417,7 +417,7 @@ PassOwnPtr<XSSInfo> XSSAuditor::filterToken(const FilterTokenRequest& request)
|
| if (didBlockScript) {
|
| bool didBlockEntirePage = (m_xssProtection == BlockReflectedXSS);
|
| OwnPtr<XSSInfo> xssInfo = XSSInfo::create(m_documentURL, didBlockEntirePage, m_didSendValidXSSProtectionHeader, m_didSendValidCSPHeader);
|
| - return xssInfo.release();
|
| + return xssInfo;
|
| }
|
| return nullptr;
|
| }
|
|
|