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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp

Issue 2807913002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts Created 3 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/platform/fonts/shaping/RunSegmenter.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp
index f731c0819d7cb2df11b78e3668ae03a525c4c885..a3134217d7af03221ff3f06ae1db8fe890d417d8 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp
@@ -35,7 +35,7 @@ RunSegmenter::RunSegmenter(const UChar* buffer,
m_atEnd(false) {}
void RunSegmenter::consumeScriptIteratorPastLastSplit() {
- ASSERT(m_scriptRunIterator);
+ DCHECK(m_scriptRunIterator);
if (m_scriptRunIteratorPosition <= m_lastSplit &&
m_scriptRunIteratorPosition < m_bufferSize) {
while (m_scriptRunIterator->consume(m_scriptRunIteratorPosition,
@@ -58,7 +58,7 @@ void RunSegmenter::consumeOrientationIteratorPastLastSplit() {
}
void RunSegmenter::consumeSymbolsIteratorPastLastSplit() {
- ASSERT(m_symbolsIterator);
+ DCHECK(m_symbolsIterator);
if (m_symbolsIteratorPosition <= m_lastSplit &&
m_symbolsIteratorPosition < m_bufferSize) {
while (m_symbolsIterator->consume(&m_symbolsIteratorPosition,

Powered by Google App Engine
This is Rietveld 408576698