Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index bcd4ca3091f1dfe831cbe81c8a757c06a2f115c7..92ec953056d098ed231549d7545403ed47bd23a5 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -358,8 +358,8 @@ void Node::setNodeValue(const String&) |
PassRefPtr<NodeList> Node::childNodes() |
{ |
if (isContainerNode()) |
- return ensureRareData().ensureNodeLists().ensureChildNodeList(toContainerNode(this)); |
- return ensureRareData().ensureNodeLists().ensureEmptyChildNodeList(this); |
+ return ensureRareData().ensureNodeLists().ensureChildNodeList(toContainerNode(*this)); |
+ return ensureRareData().ensureNodeLists().ensureEmptyChildNodeList(*this); |
} |
Node& Node::lastDescendant() const |