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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.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/HTMLFormattingElementList.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h b/third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h
index 010b8808d6fabce8deaa529b9bde24599be1d217..1444077dc7a4a73479898427e4ff484acd5b77d7 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h
@@ -63,7 +63,7 @@ class HTMLFormattingElementList {
Element* element() const {
// The fact that !m_item == isMarker() is an implementation detail callers
// should check isMarker() before calling element().
- ASSERT(m_item);
+ DCHECK(m_item);
return m_item->element();
}
void replaceElement(HTMLStackItem* item) { m_item = item; }

Powered by Google App Engine
This is Rietveld 408576698