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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 0445b84401043511440640b9884c5eecdaf4fa90..d398f9bd372f61c632e85bda67fca6e020f527b4 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h
@@ -59,13 +59,12 @@ private:
size_t m_processedElementTokens;
};
-class HTMLParserScheduler final : public NoBaseWillBeGarbageCollectedFinalized<HTMLParserScheduler> {
+class HTMLParserScheduler final : public GarbageCollectedFinalized<HTMLParserScheduler> {
WTF_MAKE_NONCOPYABLE(HTMLParserScheduler);
- USING_FAST_MALLOC_WILL_BE_REMOVED(HTMLParserScheduler);
public:
- static PassOwnPtrWillBeRawPtr<HTMLParserScheduler> create(HTMLDocumentParser* parser, WebTaskRunner* loadingTaskRunner)
+ static RawPtr<HTMLParserScheduler> create(HTMLDocumentParser* parser, WebTaskRunner* loadingTaskRunner)
{
- return adoptPtrWillBeNoop(new HTMLParserScheduler(parser, loadingTaskRunner));
+ return new HTMLParserScheduler(parser, loadingTaskRunner);
}
~HTMLParserScheduler();
@@ -96,7 +95,7 @@ private:
bool shouldYield(const SpeculationsPumpSession&, bool startingScript) const;
void continueParsing();
- RawPtrWillBeMember<HTMLDocumentParser> m_parser;
+ Member<HTMLDocumentParser> m_parser;
OwnPtr<WebTaskRunner> m_loadingTaskRunner;
OwnPtr<CancellableTaskFactory> m_cancellableContinueParse;

Powered by Google App Engine
This is Rietveld 408576698