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

Unified Diff: third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.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/OrientationIteratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.cpp b/third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.cpp
index d33b8bcbce01be5e99dfe30b3f67de52c67dba9f..68be8f9df3697ffd7ca6c1d180f2b414f4224463 100644
--- a/third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.cpp
@@ -66,7 +66,7 @@ TEST_F(OrientationIteratorTest, Empty) {
unsigned limit = 0;
OrientationIterator::RenderOrientation orientation =
OrientationIterator::kOrientationInvalid;
- ASSERT(!orientation_iterator.Consume(&limit, &orientation));
+ DCHECK(!orientation_iterator.Consume(&limit, &orientation));
ASSERT_EQ(limit, 0u);
ASSERT_EQ(orientation, OrientationIterator::kOrientationInvalid);
}

Powered by Google App Engine
This is Rietveld 408576698