Index: third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp |
index d65086618cc88e39af3ef943d6d02bcddbae091a..845eff6e3770db2b2a077175176f9ca611316a55 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp |
@@ -223,7 +223,7 @@ SkFontID FontPlatformData::uniqueID() const { |
} |
String FontPlatformData::fontFamilyName() const { |
- ASSERT(this->typeface()); |
+ DCHECK(this->typeface()); |
SkTypeface::LocalizedStrings* fontFamilyIterator = |
this->typeface()->createFamilyNameIterator(); |
SkTypeface::LocalizedString localizedString; |
@@ -266,9 +266,9 @@ bool FontPlatformData::hasSpaceInLigaturesOrKerning( |
return false; |
hb_font_t* font = hbFace->getScaledFont(); |
- ASSERT(font); |
+ DCHECK(font); |
hb_face_t* face = hb_font_get_face(font); |
- ASSERT(face); |
+ DCHECK(face); |
hb_codepoint_t space; |
// If the space glyph isn't present in the font then each space character |