Index: Source/core/html/HTMLNameCollection.cpp |
diff --git a/Source/core/html/HTMLNameCollection.cpp b/Source/core/html/HTMLNameCollection.cpp |
index 15a628ff4c7450e4fde18d870973fce516bf42e4..b20badd2a471b26794d1930f462452f2965acc5e 100644 |
--- a/Source/core/html/HTMLNameCollection.cpp |
+++ b/Source/core/html/HTMLNameCollection.cpp |
@@ -34,7 +34,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLNameCollection::HTMLNameCollection(ContainerNode* document, CollectionType type, const AtomicString& name) |
+HTMLNameCollection::HTMLNameCollection(ContainerNode& document, CollectionType type, const AtomicString& name) |
: HTMLCollection(document, type, OverridesItemAfter) |
, m_name(name) |
{ |