Build fix after r122115 and some cleanups.
[WebKit-https.git] / Source / WebCore / html / HTMLPropertiesCollection.cpp
index 9f15f4f..90dc97c 100644 (file)
@@ -53,6 +53,7 @@ PassRefPtr<HTMLPropertiesCollection> HTMLPropertiesCollection::create(Node* item
 HTMLPropertiesCollection::HTMLPropertiesCollection(Node* itemNode)
     : HTMLCollection(itemNode, ItemProperties)
 {
+    m_cache.clear();
 }
 
 HTMLPropertiesCollection::~HTMLPropertiesCollection()