Index: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp |
index 720f799f976627b57612c14b1ab844658ea70a99..1697aa0a0b80c1e25594687f3f9fab9364428e1b 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp |
@@ -15,9 +15,6 @@ CustomElementMicrotaskRunQueue::CustomElementMicrotaskRunQueue() |
: m_syncQueue(CustomElementSyncMicrotaskQueue::create()) |
, m_asyncQueue(CustomElementAsyncImportMicrotaskQueue::create()) |
, m_dispatchIsPending(false) |
-#if !ENABLE(OILPAN) |
- , m_weakFactory(this) |
-#endif |
{ |
} |
@@ -39,11 +36,7 @@ void CustomElementMicrotaskRunQueue::requestDispatchIfNeeded() |
{ |
if (m_dispatchIsPending || isEmpty()) |
return; |
-#if ENABLE(OILPAN) |
Microtask::enqueueMicrotask(WTF::bind(&CustomElementMicrotaskRunQueue::dispatch, WeakPersistentThisPointer<CustomElementMicrotaskRunQueue>(this))); |
-#else |
- Microtask::enqueueMicrotask(WTF::bind(&CustomElementMicrotaskRunQueue::dispatch, m_weakFactory.createWeakPtr())); |
-#endif |
m_dispatchIsPending = true; |
} |