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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLEntityParser.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/HTMLEntityParser.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLEntityParser.h b/third_party/WebKit/Source/core/html/parser/HTMLEntityParser.h
index 8b9a26571230f9cb5e994acca08dfb49a053424d..d9850c050d3643fbe4a22e4cc62e9cb408d78d49 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLEntityParser.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLEntityParser.h
@@ -46,7 +46,7 @@ class DecodedHTMLEntity {
bool isEmpty() const { return !length; }
void append(UChar c) {
- RELEASE_ASSERT(length < kMaxLength);
+ CHECK(length < kMaxLength);
data[length++] = c;
}

Powered by Google App Engine
This is Rietveld 408576698