| Index: third_party/WebKit/Source/core/html/HTMLTagCollection.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTagCollection.h b/third_party/WebKit/Source/core/html/HTMLTagCollection.h
|
| index 9cb86923fa3b96dcfdd249e3e0263be95e05954a..cf714772f4bdb07a7953cdc2fb8e3b32b8ecf230 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTagCollection.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTagCollection.h
|
| @@ -35,7 +35,7 @@ class HTMLTagCollection final : public TagCollection {
|
| public:
|
| static HTMLTagCollection* create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName)
|
| {
|
| - ASSERT_UNUSED(type, type == HTMLTagCollectionType);
|
| + DCHECK_EQ(type, HTMLTagCollectionType);
|
| return new HTMLTagCollection(rootNode, localName);
|
| }
|
|
|
| @@ -57,7 +57,7 @@ inline bool HTMLTagCollection::elementMatches(const Element& testElement) const
|
| if (localName != testElement.localName())
|
| return false;
|
| }
|
| - ASSERT(m_namespaceURI == starAtom);
|
| + DCHECK_EQ(m_namespaceURI, starAtom);
|
| return true;
|
| }
|
|
|
|
|