Index: Source/core/dom/ContainerNode.h |
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h |
index 4ff3c6be47fc563b07523e52da7a079ff206b3f2..6dbc91d056fa944ad4c34adeb983144aa5e2d1f4 100644 |
--- a/Source/core/dom/ContainerNode.h |
+++ b/Source/core/dom/ContainerNode.h |
@@ -319,7 +319,7 @@ inline bool Node::isTreeScope() const |
return &treeScope().rootNode() == this; |
} |
-inline void getChildNodes(Node& node, NodeVector& nodes) |
+inline void getChildNodes(ContainerNode& node, NodeVector& nodes) |
{ |
ASSERT(!nodes.size()); |
for (Node* child = node.firstChild(); child; child = child->nextSibling()) |