| Index: Source/core/html/HTMLCollection.cpp
|
| diff --git a/Source/core/html/HTMLCollection.cpp b/Source/core/html/HTMLCollection.cpp
|
| index cc65bed51fc61d2e846afd94bbb8f76f91ef8bc8..4c4e2e1df9e1b9f5726fcc1d65243689e3530d0a 100644
|
| --- a/Source/core/html/HTMLCollection.cpp
|
| +++ b/Source/core/html/HTMLCollection.cpp
|
| @@ -160,14 +160,14 @@ static NodeListInvalidationType invalidationTypeExcludingIdAndNameAttributes(Col
|
| return DoNotInvalidateOnAttributeChanges;
|
| }
|
|
|
| -HTMLCollection::HTMLCollection(Node* ownerNode, CollectionType type, ItemAfterOverrideType itemAfterOverrideType)
|
| +HTMLCollection::HTMLCollection(const Handle<Node>& ownerNode, CollectionType type, ItemAfterOverrideType itemAfterOverrideType)
|
| : LiveNodeListBase(ownerNode, rootTypeFromCollectionType(type), invalidationTypeExcludingIdAndNameAttributes(type),
|
| WebCore::shouldOnlyIncludeDirectChildren(type), type, itemAfterOverrideType)
|
| {
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<HTMLCollection> HTMLCollection::create(Node* base, CollectionType type)
|
| +PassRefPtr<HTMLCollection> HTMLCollection::create(const Handle<Node>& base, CollectionType type)
|
| {
|
| return adoptRef(new HTMLCollection(base, type, DoesNotOverrideItemAfter));
|
| }
|
|
|