Index: Source/WebCore/dom/ContainerNodeAlgorithms.h |
=================================================================== |
--- Source/WebCore/dom/ContainerNodeAlgorithms.h (revision 119621) |
+++ Source/WebCore/dom/ContainerNodeAlgorithms.h (working copy) |
@@ -135,8 +135,7 @@ |
// Clean up any TreeScope to a removed tree. |
if (Document* containerDocument = container->ownerDocument()) |
containerDocument->adoptIfNeeded(node); |
- if (node->inDocument()) |
- ChildNodeRemovalNotifier(container).notify(node); |
+ ChildNodeRemovalNotifier(container).notify(node); |
} |
}; |