Index: Source/core/html/HTMLCollection.cpp |
diff --git a/Source/core/html/HTMLCollection.cpp b/Source/core/html/HTMLCollection.cpp |
index dffff6c04baeee534d368500ac71236ee1989447..58cb3273027204ee8ae560e1c6e87e179562c1c5 100644 |
--- a/Source/core/html/HTMLCollection.cpp |
+++ b/Source/core/html/HTMLCollection.cpp |
@@ -163,6 +163,7 @@ static NodeListInvalidationType invalidationTypeExcludingIdAndNameAttributes(Col |
HTMLCollection::HTMLCollection(Node* ownerNode, CollectionType type, ItemAfterOverrideType itemAfterOverrideType) |
: LiveNodeListBase(ownerNode, rootTypeFromCollectionType(type), invalidationTypeExcludingIdAndNameAttributes(type), |
WebCore::shouldOnlyIncludeDirectChildren(type), type, itemAfterOverrideType) |
+ , m_isNameCacheValid(false) |
{ |
ScriptWrappable::init(this); |
} |