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

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: 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/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 dde7aebf8f03e4bf121761af34dfdb088d9e6b8e..ed4edb10d8d01541b0d7792f7dbbc5c05bd10b74 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)
: m_length(length), m_direction(static_cast<unsigned>(direction)) {
- ASSERT(length <= s_capacity);
+ DCHECK(length <= s_capacity);
tkent 2017/04/09 23:13:23 Use DCHECK_LE
Hwanseung Lee 2017/04/11 22:25:09 it was cause of build fail. so i did not change.
StringHasher hasher;

Powered by Google App Engine
This is Rietveld 408576698