Index: Source/core/dom/NameNodeList.h |
diff --git a/Source/core/dom/NameNodeList.h b/Source/core/dom/NameNodeList.h |
index 6bc0256f2deef19b07757d0ad9ef74419261a6fc..255a439c00b5a77d3d6f49a80485ce9841b5bb1a 100644 |
--- a/Source/core/dom/NameNodeList.h |
+++ b/Source/core/dom/NameNodeList.h |
@@ -33,7 +33,7 @@ namespace WebCore { |
// NodeList which lists all Nodes in a Element with a given "name" attribute |
class NameNodeList : public LiveNodeList { |
public: |
- static PassRefPtr<NameNodeList> create(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& name) |
+ static PassRefPtr<NameNodeList> create(const Handle<Node>& rootNode, CollectionType type, const AtomicString& name) |
{ |
ASSERT_UNUSED(type, type == NameNodeListType); |
return adoptRef(new NameNodeList(rootNode, name)); |
@@ -42,7 +42,7 @@ public: |
virtual ~NameNodeList(); |
private: |
- NameNodeList(PassRefPtr<Node> rootNode, const AtomicString& name); |
+ NameNodeList(const Handle<Node>& rootNode, const AtomicString& name); |
virtual bool nodeMatches(const Handle<Element>&) const; |