Index: ui/gfx/platform_font_pango_unittest.cc |
diff --git a/ui/gfx/platform_font_pango_unittest.cc b/ui/gfx/platform_font_pango_unittest.cc |
index f30e584c9b20bc3950796d0135e98e45203e45e4..f0b4709f6232141e9ec9cc5286eaf45f9cb49260 100644 |
--- a/ui/gfx/platform_font_pango_unittest.cc |
+++ b/ui/gfx/platform_font_pango_unittest.cc |
@@ -26,15 +26,13 @@ TEST(PlatformFontPangoTest, FamilyList) { |
g_type_init(); |
#endif |
- ScopedPangoFontDescription desc( |
- pango_font_description_from_string("Arial,Times New Roman, 13px")); |
+ ScopedPangoFontDescription desc("Arial,Times New Roman, 13px"); |
scoped_refptr<gfx::PlatformFontPango> font( |
new gfx::PlatformFontPango(desc.get())); |
EXPECT_EQ("Arial", font->GetFontName()); |
EXPECT_EQ(13, font->GetFontSize()); |
- ScopedPangoFontDescription desc2( |
- pango_font_description_from_string("Times New Roman,Arial, 15px")); |
+ ScopedPangoFontDescription desc2("Times New Roman,Arial, 15px"); |
scoped_refptr<gfx::PlatformFontPango> font2( |
new gfx::PlatformFontPango(desc2.get())); |
EXPECT_EQ("Times New Roman", font2->GetFontName()); |