Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLStackItem.h

Issue 2751483005: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/html/parser/ (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/parser/HTMLStackItem.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLStackItem.h b/third_party/WebKit/Source/core/html/parser/HTMLStackItem.h
index 68fd85be29ebb8d88aa2fb436a3f62be6afe20b7..9fd928027f9c89810cc348d8187adf61a0137779 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLStackItem.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLStackItem.h
@@ -65,11 +65,11 @@ class HTMLStackItem : public GarbageCollectedFinalized<HTMLStackItem> {
const AtomicString& localName() const { return m_tokenLocalName; }
const Vector<Attribute>& attributes() const {
- ASSERT(m_tokenLocalName);
+ DCHECK(m_tokenLocalName);
return m_tokenAttributes;
}
Attribute* getAttributeItem(const QualifiedName& attributeName) {
- ASSERT(m_tokenLocalName);
+ DCHECK(m_tokenLocalName);
return findAttributeInVector(m_tokenAttributes, attributeName);
}

Powered by Google App Engine
This is Rietveld 408576698