Index: ui/gfx/font_list_impl.cc |
diff --git a/ui/gfx/font_list_impl.cc b/ui/gfx/font_list_impl.cc |
index 907f4efa5ee1789967233d0b214b1afd91ca18a2..3eb55be5933a9e26abef16505a130d8be9e5639b 100644 |
--- a/ui/gfx/font_list_impl.cc |
+++ b/ui/gfx/font_list_impl.cc |
@@ -44,7 +44,8 @@ FontListImpl::FontListImpl(const std::string& font_description_string) |
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", true)); |
+ DCHECK(base::EndsWith(font_description_string, "px", |
+ base::CompareCase::SENSITIVE)); |
} |
FontListImpl::FontListImpl(const std::vector<std::string>& font_names, |