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

Unified Diff: ui/gfx/render_text_unittest.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « ui/gfx/font_unittest.cc ('k') | ui/gl/gl_version_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_unittest.cc
diff --git a/ui/gfx/render_text_unittest.cc b/ui/gfx/render_text_unittest.cc
index bad1262cc52c6995fe2eba8e5a5d915b586c8b96..44ecd7d51ada02180784c043392c6601e48091a1 100644
--- a/ui/gfx/render_text_unittest.cc
+++ b/ui/gfx/render_text_unittest.cc
@@ -1506,11 +1506,10 @@ TEST_F(RenderTextTest, StringSizeRespectsFontListMetrics) {
// Check that Arial and Symbol have different font metrics.
Font arial_font("Arial", 16);
ASSERT_EQ("arial",
- base::StringToLowerASCII(arial_font.GetActualFontNameForTesting()));
+ base::ToLowerASCII(arial_font.GetActualFontNameForTesting()));
Font symbol_font("Symbol", 16);
ASSERT_EQ("symbol",
- base::StringToLowerASCII(
- symbol_font.GetActualFontNameForTesting()));
+ base::ToLowerASCII(symbol_font.GetActualFontNameForTesting()));
EXPECT_NE(arial_font.GetHeight(), symbol_font.GetHeight());
EXPECT_NE(arial_font.GetBaseline(), symbol_font.GetBaseline());
// "a" should be rendered with Arial, not with Symbol.
@@ -2897,9 +2896,9 @@ TEST_F(RenderTextTest, HarfBuzz_FontListFallback) {
const std::vector<Font>& fonts = font_list.GetFonts();
ASSERT_EQ(2u, fonts.size());
ASSERT_EQ("arial",
- base::StringToLowerASCII(fonts[0].GetActualFontNameForTesting()));
+ base::ToLowerASCII(fonts[0].GetActualFontNameForTesting()));
ASSERT_EQ("symbol",
- base::StringToLowerASCII(fonts[1].GetActualFontNameForTesting()));
+ base::ToLowerASCII(fonts[1].GetActualFontNameForTesting()));
// "⊕" (CIRCLED PLUS) should be rendered with Symbol rather than falling back
// to some other font that's present on the system.
« no previous file with comments | « ui/gfx/font_unittest.cc ('k') | ui/gl/gl_version_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698