Index: Source/core/dom/ChildNodeList.h |
diff --git a/Source/core/dom/ChildNodeList.h b/Source/core/dom/ChildNodeList.h |
index 72fef04c312cac3f0b1a7dc6ca4a0b52971f9920..f5523676d2172a84037c394f8a0cfe303f9cd99f 100644 |
--- a/Source/core/dom/ChildNodeList.h |
+++ b/Source/core/dom/ChildNodeList.h |
@@ -31,7 +31,7 @@ namespace WebCore { |
class ChildNodeList : public LiveNodeList { |
public: |
- static PassRefPtr<ChildNodeList> create(PassRefPtr<Node> rootNode) |
+ static PassRefPtr<ChildNodeList> create(const Handle<Node>& rootNode) |
{ |
return adoptRef(new ChildNodeList(rootNode)); |
} |
@@ -39,7 +39,7 @@ namespace WebCore { |
virtual ~ChildNodeList(); |
protected: |
- explicit ChildNodeList(PassRefPtr<Node> rootNode); |
+ explicit ChildNodeList(const Handle<Node>& rootNode); |
virtual bool nodeMatches(const Handle<Element>&) const; |
}; |