| Index: Source/core/editing/ReplaceNodeWithSpanCommand.cpp
|
| diff --git a/Source/core/editing/ReplaceNodeWithSpanCommand.cpp b/Source/core/editing/ReplaceNodeWithSpanCommand.cpp
|
| index 575e4b3706616e3a3dbc4d8f1651a8762f4eeff0..3ed3f23d85c84fad2f84dae7e504a2591d1a0935 100644
|
| --- a/Source/core/editing/ReplaceNodeWithSpanCommand.cpp
|
| +++ b/Source/core/editing/ReplaceNodeWithSpanCommand.cpp
|
| @@ -56,7 +56,7 @@ static void swapInNodePreservingAttributesAndChildren(const Handle<HTMLElement>&
|
|
|
| NodeVector children;
|
| getChildNodes(nodeToReplace.raw(), children);
|
| - for (size_t i = 0; i < children.size(); ++i)
|
| + for (size_t i = 0; i < children->size(); ++i)
|
| newNode->appendChild(children[i], ASSERT_NO_EXCEPTION);
|
|
|
| // FIXME: Fix this to send the proper MutationRecords when MutationObservers are present.
|
|
|