Index: Source/core/html/HTMLAllCollection.h |
diff --git a/Source/core/html/HTMLAllCollection.h b/Source/core/html/HTMLAllCollection.h |
index 2cc176d0eb58fa0e02de8feb1db57ce527667ea2..458e3bc96ac41b6df988f05879e8b681d347bbc2 100644 |
--- a/Source/core/html/HTMLAllCollection.h |
+++ b/Source/core/html/HTMLAllCollection.h |
@@ -39,9 +39,11 @@ public: |
void namedGetter(const AtomicString& name, bool&, RefPtrWillBeRawPtr<NodeList>&, bool&, RefPtrWillBeRawPtr<Element>&); |
private: |
- HTMLAllCollection(ContainerNode&, CollectionType); |
+ explicit HTMLAllCollection(ContainerNode&); |
}; |
+DEFINE_TYPE_CASTS(HTMLAllCollection, LiveNodeListBase, collection, collection->type() == DocAll, collection.type() == DocAll); |
+ |
} // namespace WebCore |
#endif // HTMLAllCollection_h |