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

Unified Diff: third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp

Issue 2807913002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts (Closed)
Patch Set: rebase 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/SmallCapsIteratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp b/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp
index 4e5994cb63d9520e31175f01211a5dd93020708c..5c69e6e7d3dab29d8509cc04ce95e73b418ec492 100644
--- a/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp
@@ -67,7 +67,7 @@ TEST_F(SmallCapsIteratorTest, Empty) {
unsigned limit = 0;
SmallCapsIterator::SmallCapsBehavior small_caps_behavior =
SmallCapsIterator::kSmallCapsInvalid;
- ASSERT(!small_caps_iterator.Consume(&limit, &small_caps_behavior));
+ DCHECK(!small_caps_iterator.Consume(&limit, &small_caps_behavior));
ASSERT_EQ(limit, 0u);
ASSERT_EQ(small_caps_behavior, SmallCapsIterator::kSmallCapsInvalid);
}

Powered by Google App Engine
This is Rietveld 408576698