| Index: Source/WebCore/dom/ContainerNode.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/ContainerNode.cpp (revision 126667)
|
| +++ Source/WebCore/dom/ContainerNode.cpp (working copy)
|
| @@ -281,6 +281,11 @@
|
| if (ec)
|
| return false;
|
|
|
| + // Does this yet another check because collectChildrenAndRemoveFromOldParent() fires a MutationEvent.
|
| + checkReplaceChild(newChild.get(), oldChild, ec);
|
| + if (ec)
|
| + return false;
|
| +
|
| InspectorInstrumentation::willInsertDOMNode(document(), this);
|
|
|
| // Add the new child(ren)
|
|
|