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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLParserThread.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/HTMLParserThread.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserThread.h b/third_party/WebKit/Source/core/html/parser/HTMLParserThread.h
index 308229a86ce8b5399dd53126c520e62212e4f732..3a595b79be49c5902698815462c01aa211b08cd5 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserThread.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserThread.h
@@ -36,7 +36,8 @@
#include "platform/WebThreadSupportingGC.h"
#include "wtf/Allocator.h"
#include "wtf/Functional.h"
-#include <memory>
+#include "wtf/OwnPtr.h"
+#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -57,7 +58,7 @@ private:
void setupHTMLParserThread();
void cleanupHTMLParserThread(WaitableEvent*);
- std::unique_ptr<WebThreadSupportingGC> m_thread;
+ OwnPtr<WebThreadSupportingGC> m_thread;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698