| Index: Source/core/editing/SplitElementCommand.cpp
|
| diff --git a/Source/core/editing/SplitElementCommand.cpp b/Source/core/editing/SplitElementCommand.cpp
|
| index 3556a543aa9d3012bfa2ef38914e3675b5446249..6740afdd35f797925440f45ae05e475cc9c64bb4 100644
|
| --- a/Source/core/editing/SplitElementCommand.cpp
|
| +++ b/Source/core/editing/SplitElementCommand.cpp
|
| @@ -82,9 +82,8 @@ void SplitElementCommand::doUnapply()
|
| if (!m_element1 || !m_element1->hasEditableStyle() || !m_element2->hasEditableStyle())
|
| return;
|
|
|
| - WillBeHeapVector<RefPtrWillBeMember<Node> > children;
|
| - for (Node* node = m_element1->firstChild(); node; node = node->nextSibling())
|
| - children.append(node);
|
| + NodeVector children;
|
| + getChildNodes(*m_element1, children);
|
|
|
| RefPtrWillBeRawPtr<Node> refChild = m_element2->firstChild();
|
|
|
|
|