Index: Source/core/html/HTMLNameCollection.h |
diff --git a/Source/core/html/HTMLNameCollection.h b/Source/core/html/HTMLNameCollection.h |
index afb30195938ddf1f26242d19e8f2ab7cd8df279e..978e77063796edef0596571dcf171499b7d3d877 100644 |
--- a/Source/core/html/HTMLNameCollection.h |
+++ b/Source/core/html/HTMLNameCollection.h |
@@ -33,7 +33,7 @@ class Document; |
class HTMLNameCollection FINAL : public HTMLCollection { |
public: |
- static PassRefPtr<HTMLNameCollection> create(ContainerNode* document, CollectionType type, const AtomicString& name) |
+ static PassRefPtr<HTMLNameCollection> create(ContainerNode& document, CollectionType type, const AtomicString& name) |
{ |
return adoptRef(new HTMLNameCollection(document, type, name)); |
} |
@@ -41,7 +41,7 @@ public: |
~HTMLNameCollection(); |
private: |
- HTMLNameCollection(ContainerNode*, CollectionType, const AtomicString& name); |
+ HTMLNameCollection(ContainerNode&, CollectionType, const AtomicString& name); |
virtual Element* virtualItemAfter(Element*) const OVERRIDE; |