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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.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/HTMLTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.h b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.h
index 14efa785b8aa8614477269a0024da1f331cd6ee4..f88a8cdf9dd01334b9be91e3e59d43a3df2f16e1 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.h
@@ -228,11 +228,11 @@ class HTMLTreeBuilder final
DocumentFragment* fragment() const { return m_fragment; }
Element* contextElement() const {
- ASSERT(m_fragment);
+ DCHECK(m_fragment);
return m_contextElementStackItem->element();
}
HTMLStackItem* contextElementStackItem() const {
- ASSERT(m_fragment);
+ DCHECK(m_fragment);
return m_contextElementStackItem.get();
}

Powered by Google App Engine
This is Rietveld 408576698