Index: third_party/WebKit/Source/platform/fonts/shaping/CaseMappingHarfBuzzBufferFiller.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CaseMappingHarfBuzzBufferFiller.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CaseMappingHarfBuzzBufferFiller.cpp |
index 1a4e830c2c27c623d1a09a9b1a89f7f6c48e2399..157a8e66a7fb6089fb0cd9055f85886d2db0b1c0 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/CaseMappingHarfBuzzBufferFiller.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CaseMappingHarfBuzzBufferFiller.cpp |
@@ -43,8 +43,8 @@ CaseMappingHarfBuzzBufferFiller::CaseMappingHarfBuzzBufferFiller( |
return; |
} |
- ASSERT(case_mapped_text.length() == buffer_length); |
- ASSERT(!case_mapped_text.Is8Bit()); |
+ DCHECK_EQ(case_mapped_text.length(), buffer_length); |
+ DCHECK(!case_mapped_text.Is8Bit()); |
hb_buffer_add_utf16(harf_buzz_buffer_, |
ToUint16(case_mapped_text.Characters16()), |
buffer_length, start_index, num_characters); |