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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h

Issue 1887183002: Remove OILPAN from core/dom/custom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 fdfe6c07e19209200dd808a9a01fe7810db458cf..fdfc45b3549d0845ec582bbafcec98cbd27ac9b1 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.h
@@ -6,7 +6,6 @@
#define CustomElementMicrotaskRunQueue_h
#include "platform/heap/Handle.h"
-#include "wtf/WeakPtr.h"
namespace blink {
@@ -15,9 +14,12 @@ class CustomElementAsyncImportMicrotaskQueue;
class CustomElementMicrotaskStep;
class HTMLImportLoader;
-class CustomElementMicrotaskRunQueue : public GarbageCollectedFinalized<CustomElementMicrotaskRunQueue> {
+class CustomElementMicrotaskRunQueue : public GarbageCollected<CustomElementMicrotaskRunQueue> {
public:
- static CustomElementMicrotaskRunQueue* create() { return new CustomElementMicrotaskRunQueue(); }
+ static CustomElementMicrotaskRunQueue* create()
+ {
+ return new CustomElementMicrotaskRunQueue;
+ }
void enqueue(HTMLImportLoader* parentLoader, CustomElementMicrotaskStep*, bool importIsSync);
void requestDispatchIfNeeded();
@@ -33,9 +35,6 @@ private:
Member<CustomElementSyncMicrotaskQueue> m_syncQueue;
Member<CustomElementAsyncImportMicrotaskQueue> m_asyncQueue;
bool m_dispatchIsPending;
-#if !ENABLE(OILPAN)
- WeakPtrFactory<CustomElementMicrotaskRunQueue> m_weakFactory;
-#endif
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698