Index: Source/core/dom/shadow/InsertionPoint.h |
diff --git a/Source/core/dom/shadow/InsertionPoint.h b/Source/core/dom/shadow/InsertionPoint.h |
index 76d983f35227e2c2186b99147dea424fe249851b..87c4ced4ffcd758555eaa1df447da49c496e9a09 100644 |
--- a/Source/core/dom/shadow/InsertionPoint.h |
+++ b/Source/core/dom/shadow/InsertionPoint.h |
@@ -68,6 +68,8 @@ public: |
Node* nextTo(const Node* node) const { return m_distribution.nextTo(node); } |
Node* previousTo(const Node* node) const { return m_distribution.previousTo(node); } |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
protected: |
InsertionPoint(const QualifiedName&, Document&); |
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; |
@@ -81,7 +83,7 @@ private: |
bool m_registeredWithShadowRoot; |
}; |
-typedef Vector<RefPtr<InsertionPoint> > DestinationInsertionPoints; |
+typedef WillBeHeapVector<RefPtrWillBeMember<InsertionPoint> > DestinationInsertionPoints; |
DEFINE_ELEMENT_TYPE_CASTS(InsertionPoint, isInsertionPoint()); |
@@ -111,7 +113,7 @@ inline ElementShadow* shadowWhereNodeCanBeDistributed(const Node& node) |
const InsertionPoint* resolveReprojection(const Node*); |
-void collectDestinationInsertionPoints(const Node&, Vector<InsertionPoint*, 8>& results); |
+void collectDestinationInsertionPoints(const Node&, WillBeHeapVector<RawPtrWillBeMember<InsertionPoint>, 8>& results); |
} // namespace WebCore |