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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.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, 10 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/custom/CustomElementMicrotaskRunQueue.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
index f4ed51816c2f0a353381f2611654c723f63f31b0..df0790acf717e1ed873619086e4fbcb85ef5fe9c 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
@@ -16,26 +16,25 @@ class CustomElementAsyncImportMicrotaskQueue;
class CustomElementMicrotaskStep;
class HTMLImportLoader;
-class CustomElementMicrotaskRunQueue : public RefCountedWillBeGarbageCollectedFinalized<CustomElementMicrotaskRunQueue> {
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementMicrotaskRunQueue)
+class CustomElementMicrotaskRunQueue : public GarbageCollectedFinalized<CustomElementMicrotaskRunQueue> {
public:
- static PassRefPtrWillBeRawPtr<CustomElementMicrotaskRunQueue> create() { return adoptRefWillBeNoop(new CustomElementMicrotaskRunQueue()); }
+ static RawPtr<CustomElementMicrotaskRunQueue> create() { return (new CustomElementMicrotaskRunQueue()); }
- void enqueue(HTMLImportLoader* parentLoader, PassOwnPtrWillBeRawPtr<CustomElementMicrotaskStep>, bool importIsSync);
+ void enqueue(HTMLImportLoader* parentLoader, RawPtr<CustomElementMicrotaskStep>, bool importIsSync);
void requestDispatchIfNeeded();
bool isEmpty() const;
DECLARE_TRACE();
private:
- static void dispatchIfAlive(WeakPtrWillBeWeakPersistent<CustomElementMicrotaskRunQueue>);
+ static void dispatchIfAlive(WeakPersistent<CustomElementMicrotaskRunQueue>);
CustomElementMicrotaskRunQueue();
void dispatch();
- RefPtrWillBeMember<CustomElementSyncMicrotaskQueue> m_syncQueue;
- RefPtrWillBeMember<CustomElementAsyncImportMicrotaskQueue> m_asyncQueue;
+ Member<CustomElementSyncMicrotaskQueue> m_syncQueue;
+ Member<CustomElementAsyncImportMicrotaskQueue> m_asyncQueue;
bool m_dispatchIsPending;
#if !ENABLE(OILPAN)
WeakPtrFactory<CustomElementMicrotaskRunQueue> m_weakFactory;

Powered by Google App Engine
This is Rietveld 408576698