| Index: Source/core/editing/MergeIdenticalElementsCommand.cpp
|
| diff --git a/Source/core/editing/MergeIdenticalElementsCommand.cpp b/Source/core/editing/MergeIdenticalElementsCommand.cpp
|
| index 428a9a727581f23c01107ba52bfb10b722b78dcf..426ac6889fb1a7e8cddb3f26bdf27a36d879559c 100644
|
| --- a/Source/core/editing/MergeIdenticalElementsCommand.cpp
|
| +++ b/Source/core/editing/MergeIdenticalElementsCommand.cpp
|
| @@ -49,9 +49,8 @@ void MergeIdenticalElementsCommand::doApply()
|
|
|
| m_atChild = m_element2->firstChild();
|
|
|
| - WillBeHeapVector<RefPtrWillBeMember<Node> > children;
|
| - for (Node* child = m_element1->firstChild(); child; child = child->nextSibling())
|
| - children.append(child);
|
| + NodeVector children;
|
| + getChildNodes(*m_element1, children);
|
|
|
| size_t size = children.size();
|
| for (size_t i = 0; i < size; ++i)
|
|
|