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

Unified Diff: third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp

Issue 1878473002: ASSERT -> DCHECK in core/editing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Output info for some DCHECKs, add TODOs. Created 4 years, 8 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/editing/iterators/WordAwareIterator.cpp
diff --git a/third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp b/third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp
index c2c9ed9535122fc0aafe3623ec7f887b0312e3e0..8c272b141aace933f30ddb2da10e976d94d54da0 100644
--- a/third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp
+++ b/third_party/WebKit/Source/core/editing/iterators/WordAwareIterator.cpp
@@ -47,7 +47,7 @@ void WordAwareIterator::advance()
// If last time we did a look-ahead, start with that looked-ahead chunk now
if (!m_didLookAhead) {
- ASSERT(!m_textIterator.atEnd());
+ DCHECK(!m_textIterator.atEnd());
m_textIterator.advance();
}
m_didLookAhead = false;

Powered by Google App Engine
This is Rietveld 408576698