Index: third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp |
index 503e8e49bd3fe2590f494157a52c1faa91a523ea..9cba858e6da91e7a7a506e736c3084783018e84d 100644 |
--- a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp |
@@ -204,7 +204,7 @@ PassRefPtr<SkTypeface> FontCache::createTypeface(const FontDescription& fontDesc |
// If we're creating a fallback font (e.g. "-webkit-monospace"), convert the name into |
// the fallback name (like "monospace") that fontconfig understands. |
if (!family.length() || family.startsWith("-webkit-")) { |
- name = getFallbackFontFamily(fontDescription).string().utf8(); |
+ name = getFallbackFontFamily(fontDescription).getString().utf8(); |
} else { |
// convert the name to utf8 |
name = family.utf8(); |