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

Unified Diff: third_party/WebKit/Source/platform/fonts/OrientationIterator.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/OrientationIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp b/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp
index 191ea41984ba9ed545943582e3c9e7e6a6404e1d..2786a6d22444868c0e7f7cad403ec33a21e5cb98 100644
--- a/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp
@@ -16,7 +16,7 @@ OrientationIterator::OrientationIterator(const UChar* buffer,
at_end_(buffer_size == 0) {
// There's not much point in segmenting by isUprightInVertical if the text
// orientation is not "mixed".
- ASSERT(run_orientation == FontOrientation::kVerticalMixed);
+ DCHECK_EQ(run_orientation, FontOrientation::kVerticalMixed);
}
bool OrientationIterator::Consume(unsigned* orientation_limit,

Powered by Google App Engine
This is Rietveld 408576698