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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/CaseMappingHarfBuzzBufferFiller.cpp

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/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);

Powered by Google App Engine
This is Rietveld 408576698