Index: third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp |
index 26b7bca3be00efc7112bc69413e69a2333bf758a..3874415c67a0cce36eeb66bc09513b9e03ac9daa 100644 |
--- a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp |
@@ -451,7 +451,7 @@ const UChar* GetFontFamilyForScript(UScriptCode script, |
if (script == USCRIPT_INVALID_CODE) |
return 0; |
- ASSERT(script < USCRIPT_CODE_LIMIT); |
+ DCHECK_LT(script, USCRIPT_CODE_LIMIT); |
if (generic == FontDescription::kMonospaceFamily) { |
const UChar* monospace_family = FindMonospaceFontForScript(script); |
if (monospace_family) |
@@ -476,8 +476,8 @@ const UChar* GetFallbackFamily(UChar32 character, |
UScriptCode* script_checked, |
FontFallbackPriority fallback_priority, |
SkFontMgr* font_manager) { |
- ASSERT(character); |
- ASSERT(font_manager); |
+ DCHECK(character); |
+ DCHECK(font_manager); |
UBlockCode block = fallback_priority == FontFallbackPriority::kEmojiEmoji |
? UBLOCK_EMOTICONS |
: ublock_getCode(character); |