| Index: third_party/WebKit/Source/core/html/HTMLCollection.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLCollection.h b/third_party/WebKit/Source/core/html/HTMLCollection.h
|
| index b96c8d9867499238bf27cb27f7276f4d7e852198..079e2cca29df6d598985817aa75c08a9f30b34e3 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCollection.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCollection.h
|
| @@ -114,7 +114,7 @@ protected:
|
|
|
| void setNamedItemCache(NamedItemCache* cache) const
|
| {
|
| - ASSERT(!m_namedItemCache);
|
| + DCHECK(!m_namedItemCache);
|
| // Do not repeat registration for the same invalidation type.
|
| if (invalidationType() != InvalidateOnIdNameAttrChange)
|
| document().registerNodeListWithIdNameCache(this);
|
| @@ -123,7 +123,7 @@ protected:
|
|
|
| NamedItemCache& namedItemCache() const
|
| {
|
| - ASSERT(m_namedItemCache);
|
| + DCHECK(m_namedItemCache);
|
| return *m_namedItemCache;
|
| }
|
|
|
| @@ -143,7 +143,7 @@ private:
|
|
|
| void unregisterIdNameCacheFromDocument(Document& document) const
|
| {
|
| - ASSERT(hasValidIdNameCache());
|
| + DCHECK(hasValidIdNameCache());
|
| // Do not repeat unregistration for the same invalidation type.
|
| if (invalidationType() != InvalidateOnIdNameAttrChange)
|
| document.unregisterNodeListWithIdNameCache(this);
|
|
|