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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.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/HTMLParserScheduler.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h b/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h
index e8bd9af94c3872f307b430e6cf0e0ad0fdef3a2c..2651e5e898c71c0f8a07e9dcab87bc6cebcde754 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h
@@ -29,8 +29,8 @@
#include "core/html/parser/NestingLevelIncrementer.h"
#include "platform/scheduler/CancellableTaskFactory.h"
#include "wtf/Allocator.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/RefPtr.h"
-#include <memory>
namespace blink {
@@ -96,9 +96,9 @@ private:
void continueParsing();
Member<HTMLDocumentParser> m_parser;
- std::unique_ptr<WebTaskRunner> m_loadingTaskRunner;
+ OwnPtr<WebTaskRunner> m_loadingTaskRunner;
- std::unique_ptr<CancellableTaskFactory> m_cancellableContinueParse;
+ OwnPtr<CancellableTaskFactory> m_cancellableContinueParse;
bool m_isSuspendedWithActiveTimer;
};

Powered by Google App Engine
This is Rietveld 408576698