Index: Source/core/editing/WrapContentsInDummySpanCommand.cpp |
diff --git a/Source/core/editing/WrapContentsInDummySpanCommand.cpp b/Source/core/editing/WrapContentsInDummySpanCommand.cpp |
index b63e16ec5020769b825e029f481de017022f69ee..f615a556743d1c1d7aff534406259516159d52e3 100644 |
--- a/Source/core/editing/WrapContentsInDummySpanCommand.cpp |
+++ b/Source/core/editing/WrapContentsInDummySpanCommand.cpp |
@@ -41,7 +41,7 @@ WrapContentsInDummySpanCommand::WrapContentsInDummySpanCommand(PassRefPtrWillBeR |
void WrapContentsInDummySpanCommand::executeApply() |
{ |
- Vector<RefPtr<Node> > children; |
+ WillBeHeapVector<RefPtrWillBeMember<Node> > children; |
for (Node* child = m_element->firstChild(); child; child = child->nextSibling()) |
children.append(child); |
@@ -66,7 +66,7 @@ void WrapContentsInDummySpanCommand::doUnapply() |
if (!m_dummySpan || !m_element->rendererIsEditable()) |
return; |
- Vector<RefPtr<Node> > children; |
+ WillBeHeapVector<RefPtrWillBeMember<Node> > children; |
for (Node* child = m_dummySpan->firstChild(); child; child = child->nextSibling()) |
children.append(child); |