Index: Source/WebCore/dom/ContainerNode.cpp |
=================================================================== |
--- Source/WebCore/dom/ContainerNode.cpp (revision 119639) |
+++ Source/WebCore/dom/ContainerNode.cpp (working copy) |
@@ -593,10 +593,8 @@ |
allowEventDispatch(); |
- // FIXME: Why doesn't this use notify(newChild.get()) instead? |
- if (inDocument()) |
- ChildNodeInsertionNotifier(this).notifyInsertedIntoDocument(newChild.get()); |
childrenChanged(true, last, 0, 1); |
+ ChildNodeInsertionNotifier(this).notify(newChild.get()); |
} |
void ContainerNode::suspendPostAttachCallbacks() |