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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunner.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/dom/ScriptRunner.h
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunner.h b/third_party/WebKit/Source/core/dom/ScriptRunner.h
index bdc35e6d27e4fda7458f8643fdb82c2da3bac56c..abc7e269c595984cce475996d5cb195d9d0f0075 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunner.h
+++ b/third_party/WebKit/Source/core/dom/ScriptRunner.h
@@ -40,12 +40,12 @@ class Document;
class ScriptLoader;
class WebTaskRunner;
-class CORE_EXPORT ScriptRunner final : public NoBaseWillBeGarbageCollectedFinalized<ScriptRunner> {
- WTF_MAKE_NONCOPYABLE(ScriptRunner); USING_FAST_MALLOC_WILL_BE_REMOVED(ScriptRunner);
+class CORE_EXPORT ScriptRunner final : public GarbageCollectedFinalized<ScriptRunner> {
+ WTF_MAKE_NONCOPYABLE(ScriptRunner);
public:
- static PassOwnPtrWillBeRawPtr<ScriptRunner> create(Document* document)
+ static RawPtr<ScriptRunner> create(Document* document)
{
- return adoptPtrWillBeNoop(new ScriptRunner(document));
+ return new ScriptRunner(document);
}
~ScriptRunner();
#if !ENABLE(OILPAN)
@@ -75,18 +75,18 @@ private:
void postTask(const WebTraceLocation&);
- bool executeTaskFromQueue(WillBeHeapDeque<RawPtrWillBeMember<ScriptLoader>>*);
+ bool executeTaskFromQueue(HeapDeque<Member<ScriptLoader>>*);
void executeTask();
- RawPtrWillBeMember<Document> m_document;
+ Member<Document> m_document;
- WillBeHeapDeque<RawPtrWillBeMember<ScriptLoader>> m_pendingInOrderScripts;
- WillBeHeapHashSet<RawPtrWillBeMember<ScriptLoader>> m_pendingAsyncScripts;
+ HeapDeque<Member<ScriptLoader>> m_pendingInOrderScripts;
+ HeapHashSet<Member<ScriptLoader>> m_pendingAsyncScripts;
// http://www.whatwg.org/specs/web-apps/current-work/#set-of-scripts-that-will-execute-as-soon-as-possible
- WillBeHeapDeque<RawPtrWillBeMember<ScriptLoader>> m_asyncScriptsToExecuteSoon;
- WillBeHeapDeque<RawPtrWillBeMember<ScriptLoader>> m_inOrderScriptsToExecuteSoon;
+ HeapDeque<Member<ScriptLoader>> m_asyncScriptsToExecuteSoon;
+ HeapDeque<Member<ScriptLoader>> m_inOrderScriptsToExecuteSoon;
WebTaskRunner* m_taskRunner;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptLoader.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698