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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLElementStack.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/HTMLElementStack.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLElementStack.h b/third_party/WebKit/Source/core/html/parser/HTMLElementStack.h
index 6dd6cc23e81d8b285254e62598859c9d4f3ac426..4847bd2fa5c89fd9ffd5a568218869212a600410 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLElementStack.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLElementStack.h
@@ -81,17 +81,17 @@ class HTMLElementStack {
// Inlining this function is a (small) performance win on the parsing
// benchmark.
Element* top() const {
- ASSERT(m_top->element());
+ DCHECK(m_top->element());
return m_top->element();
}
ContainerNode* topNode() const {
- ASSERT(m_top->node());
+ DCHECK(m_top->node());
return m_top->node();
}
HTMLStackItem* topStackItem() const {
- ASSERT(m_top->stackItem());
+ DCHECK(m_top->stackItem());
return m_top->stackItem();
}

Powered by Google App Engine
This is Rietveld 408576698