Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.h b/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.h
index 907a57fda66ecd4969a9a6eb70ca95e0fad5cc2d..1aca1d25e9040a874b0f2f68161451fe44f6acc0 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.h
@@ -32,7 +32,6 @@
#include "core/html/parser/HTMLSourceTracker.h"
#include "core/html/parser/HTMLTokenizer.h"
#include "core/html/parser/XSSAuditor.h"
-#include <memory>
namespace blink {
@@ -60,7 +59,7 @@ private:
HTMLInputStream m_input;
HTMLToken m_token;
HTMLSourceTracker m_sourceTracker;
- std::unique_ptr<HTMLTokenizer> m_tokenizer;
+ OwnPtr<HTMLTokenizer> m_tokenizer;
XSSAuditor m_xssAuditor;
};

Powered by Google App Engine
This is Rietveld 408576698