Index: Source/core/html/HTMLCollection.cpp |
diff --git a/Source/core/html/HTMLCollection.cpp b/Source/core/html/HTMLCollection.cpp |
index 8112c6ac4518127171854807fafbc36e8ef7a8bd..14023c7a3d6aeb227faccedbeddf67341e1de004 100644 |
--- a/Source/core/html/HTMLCollection.cpp |
+++ b/Source/core/html/HTMLCollection.cpp |
@@ -163,7 +163,8 @@ static NodeListInvalidationType invalidationTypeExcludingIdAndNameAttributes(Col |
HTMLCollection::HTMLCollection(ContainerNode* ownerNode, CollectionType type, ItemAfterOverrideType itemAfterOverrideType) |
: LiveNodeListBase(ownerNode, rootTypeFromCollectionType(type), invalidationTypeExcludingIdAndNameAttributes(type), |
- WebCore::shouldOnlyIncludeDirectChildren(type), type, itemAfterOverrideType) |
+ WebCore::shouldOnlyIncludeDirectChildren(type), type) |
+ , m_overridesItemAfter(itemAfterOverrideType == OverridesItemAfter) |
, m_isNameCacheValid(false) |
{ |
ScriptWrappable::init(this); |