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 b75c79d4ea189237f2ca6607fb84638466f090f0..a48a1ad846285c6daf6378bf82d2a30fa2f7feac 100644 |
--- a/content/child/browser_font_resource_trusted.cc |
+++ b/content/child/browser_font_resource_trusted.cc |
@@ -272,8 +272,8 @@ PP_Bool BrowserFontResource_Trusted::Describe( |
// While converting the other way in PPFontDescToWebFontDesc we validated |
// that the enums can be casted. |
WebFontDescription web_desc = font_->fontDescription(); |
- description->face = |
- StringVar::StringToPPVar(base::UTF16ToUTF8(web_desc.family)); |
+ description->face = StringVar::StringToPPVar(base::UTF16ToUTF8( |
+ base::StringPiece16(web_desc.family))); |
description->family = |
static_cast<PP_BrowserFont_Trusted_Family>(web_desc.genericFamily); |
description->size = static_cast<uint32_t>(web_desc.size); |