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

Unified Diff: third_party/WebKit/Source/core/html/parser/InputStreamPreprocessor.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/InputStreamPreprocessor.h
diff --git a/third_party/WebKit/Source/core/html/parser/InputStreamPreprocessor.h b/third_party/WebKit/Source/core/html/parser/InputStreamPreprocessor.h
index caaba4260d9cab6513eed462549ae7789fcbcf83..9d1a20089fd37b158fb345da0a16280a684611e5 100644
--- a/third_party/WebKit/Source/core/html/parser/InputStreamPreprocessor.h
+++ b/third_party/WebKit/Source/core/html/parser/InputStreamPreprocessor.h
@@ -87,7 +87,7 @@ class InputStreamPreprocessor {
private:
bool processNextInputCharacter(SegmentedString& source) {
ProcessAgain:
- ASSERT(m_nextInputCharacter == source.currentChar());
+ DCHECK_EQ(m_nextInputCharacter, source.currentChar());
if (m_nextInputCharacter == '\n' && m_skipNextNewLine) {
m_skipNextNewLine = false;

Powered by Google App Engine
This is Rietveld 408576698