Index: Source/core/dom/custom/CustomElementMicrotaskQueue.cpp |
diff --git a/Source/core/dom/custom/CustomElementMicrotaskQueue.cpp b/Source/core/dom/custom/CustomElementMicrotaskQueue.cpp |
index 236cc54517e4b50ba8a234fc1f357ed1f97ea2c3..df29d66591525af4cd3722a2125ab77112376179 100644 |
--- a/Source/core/dom/custom/CustomElementMicrotaskQueue.cpp |
+++ b/Source/core/dom/custom/CustomElementMicrotaskQueue.cpp |
@@ -75,7 +75,7 @@ private: |
MicrotaskQueueInvocationScope* MicrotaskQueueInvocationScope::s_top = 0; |
#endif |
-void CustomElementMicrotaskQueue::enqueue(PassOwnPtr<CustomElementMicrotaskStep> step) |
+void CustomElementMicrotaskQueue::enqueue(PassOwnPtrWillBeRawPtr<CustomElementMicrotaskStep> step) |
{ |
m_queue.append(step); |
} |
@@ -83,7 +83,7 @@ void CustomElementMicrotaskQueue::enqueue(PassOwnPtr<CustomElementMicrotaskStep> |
CustomElementMicrotaskStep::Result CustomElementMicrotaskQueue::dispatch() |
{ |
MicrotaskQueueInvocationScope scope(this); |
- Vector<OwnPtr<CustomElementMicrotaskStep> > remaining; |
+ WillBeHeapVector<OwnPtrWillBeMember<CustomElementMicrotaskStep> > remaining; |
Result accumulatedResult = CustomElementMicrotaskStep::ContinueWithRemoving; |
unsigned i; |
@@ -113,6 +113,11 @@ bool CustomElementMicrotaskQueue::needsProcessOrStop() const |
return false; |
} |
+void CustomElementMicrotaskQueue::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_queue); |
+} |
+ |
#if !defined(NDEBUG) |
void CustomElementMicrotaskQueue::show(unsigned indent) |
{ |