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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h

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/shaping/ShapeCache.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
index 58c2145f470cc633162f9852418e495b7a781047..703cf445537c3c3df9049c419bcde03e3f0e091b 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeCache.h
@@ -70,7 +70,7 @@ class ShapeCache {
unsigned short length,
TextDirection direction)
: length_(length), direction_(static_cast<unsigned>(direction)) {
- ASSERT(length <= kCapacity);
+ DCHECK(length <= kCapacity);
StringHasher hasher;

Powered by Google App Engine
This is Rietveld 408576698