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

Unified Diff: third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.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/SymbolsIteratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp b/third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp
index 1660922e2b59db9d1ec4b5f8e5121c2f02c011d4..b3e71d7bfb7a995ee135aa60f641f72b434ec1dc 100644
--- a/third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/SymbolsIteratorTest.cpp
@@ -65,7 +65,7 @@ TEST_F(SymbolsIteratorTest, Empty) {
SymbolsIterator symbolsIterator(empty.characters16(), empty.length());
unsigned limit = 0;
FontFallbackPriority symbolsFont = FontFallbackPriority::Invalid;
- ASSERT(!symbolsIterator.consume(&limit, &symbolsFont));
+ DCHECK(!symbolsIterator.consume(&limit, &symbolsFont));
ASSERT_EQ(limit, 0u);
ASSERT_EQ(symbolsFont, FontFallbackPriority::Invalid);
}

Powered by Google App Engine
This is Rietveld 408576698