| Index: content/common/font_list_pango.cc
|
| diff --git a/content/common/font_list_pango.cc b/content/common/font_list_pango.cc
|
| index d64c9033a0c03384ecd91dfe1deceda8581502a2..938d0597c5c5bc28d633cb1f4f61de49046b0ca6 100644
|
| --- a/content/common/font_list_pango.cc
|
| +++ b/content/common/font_list_pango.cc
|
| @@ -31,8 +31,8 @@ std::unique_ptr<base::ListValue> GetFontList_SlowBlocking() {
|
| for (std::set<std::string>::const_iterator iter = sorted_families.begin();
|
| iter != sorted_families.end(); ++iter) {
|
| base::ListValue* font_item = new base::ListValue();
|
| - font_item->Append(new base::StringValue(*iter));
|
| - font_item->Append(new base::StringValue(*iter)); // localized name.
|
| + font_item->AppendString(*iter);
|
| + font_item->AppendString(*iter); // localized name.
|
| // TODO(yusukes): Support localized family names.
|
| font_list->Append(font_item);
|
| }
|
|
|