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

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: 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/SmallCapsIteratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp b/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp
index 4e18becdcbee5c8c98f21989c802def0ea90a121..4c009f5289930231311a9ae9f1bbd70b37502ff3 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 smallCapsBehavior =
SmallCapsIterator::SmallCapsInvalid;
- ASSERT(!smallCapsIterator.consume(&limit, &smallCapsBehavior));
+ DCHECK(!smallCapsIterator.consume(&limit, &smallCapsBehavior));
ASSERT_EQ(limit, 0u);
ASSERT_EQ(smallCapsBehavior, SmallCapsIterator::SmallCapsInvalid);
}

Powered by Google App Engine
This is Rietveld 408576698