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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.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/shaping/RunSegmenterTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
index e83ec99b3adaacc88ce55f880ad6a9b97ba526c3..42632039b39ff35f5e34109bbaa46e676cca131f 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
@@ -96,7 +96,7 @@ TEST_F(RunSegmenterTest, Empty) {
0, 0, USCRIPT_INVALID_CODE, OrientationIterator::OrientationKeep};
RunSegmenter runSegmenter(empty.characters16(), empty.length(),
FontOrientation::VerticalMixed);
- ASSERT(!runSegmenter.consume(&segmenterRange));
+ DCHECK(!runSegmenter.consume(&segmenterRange));
ASSERT_EQ(segmenterRange.start, 0u);
ASSERT_EQ(segmenterRange.end, 0u);
ASSERT_EQ(segmenterRange.script, USCRIPT_INVALID_CODE);

Powered by Google App Engine
This is Rietveld 408576698