Index: ui/gfx/font_list_impl.cc |
diff --git a/ui/gfx/font_list_impl.cc b/ui/gfx/font_list_impl.cc |
index 3eb55be5933a9e26abef16505a130d8be9e5639b..907f4efa5ee1789967233d0b214b1afd91ca18a2 100644 |
--- a/ui/gfx/font_list_impl.cc |
+++ b/ui/gfx/font_list_impl.cc |
@@ -44,8 +44,7 @@ |
font_size_(-1) { |
DCHECK(!font_description_string.empty()); |
// DCHECK description string ends with "px" for size in pixel. |
- DCHECK(base::EndsWith(font_description_string, "px", |
- base::CompareCase::SENSITIVE)); |
+ DCHECK(base::EndsWith(font_description_string, "px", true)); |
} |
FontListImpl::FontListImpl(const std::vector<std::string>& font_names, |