Index: content/child/browser_font_resource_trusted.cc |
diff --git a/content/child/browser_font_resource_trusted.cc b/content/child/browser_font_resource_trusted.cc |
index a48a1ad846285c6daf6378bf82d2a30fa2f7feac..d9ca6d6bce841b8774049246f8e478673776eda0 100644 |
--- a/content/child/browser_font_resource_trusted.cc |
+++ b/content/child/browser_font_resource_trusted.cc |
@@ -201,9 +201,9 @@ WebFontDescription PPFontDescToWebFontDesc( |
// we should use the fixed or regular font size. It's difficult at this |
// level to detect if the requested font is fixed width, so we only apply |
// the alternate font size to the default fixed font family. |
- if (base::StringToLowerASCII(resolved_family) == |
- base::StringToLowerASCII(GetFontFromMap(prefs.fixed_font_family_map, |
- kCommonScript))) |
+ if (base::ToLowerASCII(resolved_family) == |
+ base::ToLowerASCII(GetFontFromMap(prefs.fixed_font_family_map, |
+ kCommonScript))) |
result.size = static_cast<float>(prefs.default_fixed_font_size); |
else |
result.size = static_cast<float>(prefs.default_font_size); |