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

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: 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/OrientationIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp b/third_party/WebKit/Source/platform/fonts/OrientationIterator.cpp
index ddfc93bd836a0bfdcae71a2c55dfa8e93ee85b9e..7ca2f52fe477079d6bb8085ac7302478355e5bca 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,
m_atEnd(bufferSize == 0) {
// There's not much point in segmenting by isUprightInVertical if the text
// orientation is not "mixed".
- ASSERT(runOrientation == FontOrientation::VerticalMixed);
+ DCHECK_EQ(runOrientation, FontOrientation::VerticalMixed);
}
bool OrientationIterator::consume(unsigned* orientationLimit,

Powered by Google App Engine
This is Rietveld 408576698