Index: Source/core/dom/ContainerNodeAlgorithms.h |
diff --git a/Source/core/dom/ContainerNodeAlgorithms.h b/Source/core/dom/ContainerNodeAlgorithms.h |
index b863c252f2f85747e403a4a8d48d0fb6778beee5..f7cefcb20e0947e2706b2b82d2eea81e0e1c9791 100644 |
--- a/Source/core/dom/ContainerNodeAlgorithms.h |
+++ b/Source/core/dom/ContainerNodeAlgorithms.h |
@@ -96,7 +96,7 @@ inline void removeDetachedChildrenInContainer(GenericNodeContainer& container) |
if (next == 0) |
tail = 0; |
- if (n->hasChildNodes()) |
+ if (n->hasChildren()) |
Private::addChildNodesToDeletionQueue<GenericNode, GenericNodeContainer>(head, tail, static_cast<GenericNodeContainer&>(*n)); |
delete n; |