Index: Source/core/dom/ContainerNode.h |
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h |
index 84286361e0eedc31ea2baeac4c597dfb0b5e8ffb..f9e99a287aec79a40f65ab93d278e0ec05a0448b 100644 |
--- a/Source/core/dom/ContainerNode.h |
+++ b/Source/core/dom/ContainerNode.h |
@@ -266,7 +266,7 @@ inline bool Node::needsShadowTreeWalker() const |
const int initialNodeVectorSize = 11; |
typedef Vector<RefPtr<Node>, initialNodeVectorSize> NodeVector; |
-inline void getChildNodes(Node* node, NodeVector& nodes) |
+inline void getChildNodes(const Node* node, NodeVector& nodes) |
{ |
ASSERT(!nodes.size()); |
for (Node* child = node->firstChild(); child; child = child->nextSibling()) |