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

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: 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/OrientationIteratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.cpp b/third_party/WebKit/Source/platform/fonts/OrientationIteratorTest.cpp
index 126093f0c3663bbb75de464d81d9bd144373524f..d36a33562be87b5c4ccca8175650902a98c55d10 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::OrientationInvalid;
- ASSERT(!orientationIterator.consume(&limit, &orientation));
+ DCHECK(!orientationIterator.consume(&limit, &orientation));
ASSERT_EQ(limit, 0u);
ASSERT_EQ(orientation, OrientationIterator::OrientationInvalid);
}

Powered by Google App Engine
This is Rietveld 408576698