| Index: third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
|
| index b3f567577cc9323c14c4c6648a2ffe1436bb7d93..ad5e3d8dcf417fbf1da0c6940ec18cb1e8d2e718 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
|
| @@ -30,7 +30,6 @@
|
| #include "core/html/parser/HTMLParserOptions.h"
|
| #include "core/html/parser/HTMLToken.h"
|
| #include "core/html/parser/XSSAuditorDelegate.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -52,7 +51,7 @@ void HTMLViewSourceParser::pumpTokenizer()
|
| return;
|
| m_sourceTracker.end(m_input.current(), m_tokenizer.get(), m_token);
|
|
|
| - std::unique_ptr<XSSInfo> xssInfo = m_xssAuditor.filterToken(FilterTokenRequest(m_token, m_sourceTracker, m_tokenizer->shouldAllowCDATA()));
|
| + OwnPtr<XSSInfo> xssInfo = m_xssAuditor.filterToken(FilterTokenRequest(m_token, m_sourceTracker, m_tokenizer->shouldAllowCDATA()));
|
| HTMLViewSourceDocument::SourceAnnotation annotation = xssInfo ? HTMLViewSourceDocument::AnnotateSourceAsXSS : HTMLViewSourceDocument::AnnotateSourceAsSafe;
|
| document()->addSource(m_sourceTracker.sourceForToken(m_token), m_token, annotation);
|
|
|
|
|