Index: Source/core/html/HTMLOptionsCollection.cpp |
diff --git a/Source/core/html/HTMLOptionsCollection.cpp b/Source/core/html/HTMLOptionsCollection.cpp |
index b63ab241f7ded87be308d604549737747968eeef..7011248762e2e1433646c0fc4a2a8fdf93fe05b5 100644 |
--- a/Source/core/html/HTMLOptionsCollection.cpp |
+++ b/Source/core/html/HTMLOptionsCollection.cpp |
@@ -31,10 +31,10 @@ |
namespace WebCore { |
-HTMLOptionsCollection::HTMLOptionsCollection(ContainerNode* select) |
+HTMLOptionsCollection::HTMLOptionsCollection(ContainerNode& select) |
: HTMLCollection(select, SelectOptions, DoesNotOverrideItemAfter) |
{ |
- ASSERT(select->hasTagName(HTMLNames::selectTag)); |
+ ASSERT(select.hasTagName(HTMLNames::selectTag)); |
ScriptWrappable::init(this); |
} |
@@ -64,7 +64,7 @@ void HTMLOptionsCollection::supportedPropertyNames(Vector<String>& names) |
} |
} |
-PassRefPtr<HTMLOptionsCollection> HTMLOptionsCollection::create(ContainerNode* select, CollectionType) |
+PassRefPtr<HTMLOptionsCollection> HTMLOptionsCollection::create(ContainerNode& select, CollectionType) |
{ |
return adoptRef(new HTMLOptionsCollection(select)); |
} |