| Index: Source/core/dom/ClassCollection.h | 
| diff --git a/Source/core/dom/ClassCollection.h b/Source/core/dom/ClassCollection.h | 
| index 0d340bedce1f31057c53ad13fbbe9df954e1fc27..d9ddd3b3e172808c33fb04e1c82dd741e7a95dde 100644 | 
| --- a/Source/core/dom/ClassCollection.h | 
| +++ b/Source/core/dom/ClassCollection.h | 
| @@ -57,6 +57,8 @@ private: | 
| AtomicString m_originalClassNames; | 
| }; | 
|  | 
| +DEFINE_TYPE_CASTS(ClassCollection, LiveNodeListBase, collection, collection->type() == ClassCollectionType, collection.type() == ClassCollectionType); | 
| + | 
| inline bool ClassCollection::elementMatches(const Element& testElement) const | 
| { | 
| if (!testElement.hasClass()) | 
|  |