Index: Source/core/html/HTMLFormControlsCollection.h |
diff --git a/Source/core/html/HTMLFormControlsCollection.h b/Source/core/html/HTMLFormControlsCollection.h |
index a21a115c80c311a19823171e9c4cd210f33fbbde..df90351776a75b04be8c16b00bc31881862cee03 100644 |
--- a/Source/core/html/HTMLFormControlsCollection.h |
+++ b/Source/core/html/HTMLFormControlsCollection.h |
@@ -62,6 +62,7 @@ private: |
mutable RawPtrWillBeMember<Element> m_cachedElement; |
mutable unsigned m_cachedElementOffsetInArray; |
}; |
+DEFINE_TYPE_CASTS(HTMLFormControlsCollection, LiveNodeListBase, collection, collection->type() == FormControls, collection.type() == FormControls); |
} // namespace |