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

Unified Diff: content/common/font_list_mac.mm

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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 | « content/common/common_param_traits_unittest.cc ('k') | content/common/font_list_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_list_mac.mm
diff --git a/content/common/font_list_mac.mm b/content/common/font_list_mac.mm
index d4768ae25b9fe806b5e13809de7168e7bba8873c..5eebf2c05c129482170504c665354710ca9622e9 100644
--- a/content/common/font_list_mac.mm
+++ b/content/common/font_list_mac.mm
@@ -34,8 +34,8 @@ std::unique_ptr<base::ListValue> GetFontList_SlowBlocking() {
base::ListValue* font_item = new base::ListValue();
base::string16 family = base::SysNSStringToUTF16(family_name);
base::string16 loc_family = base::SysNSStringToUTF16(localized_family_name);
- font_item->Append(new base::StringValue(family));
- font_item->Append(new base::StringValue(loc_family));
+ font_item->Append(new base::Value(family));
+ font_item->Append(new base::Value(loc_family));
font_list->Append(font_item);
}
« no previous file with comments | « content/common/common_param_traits_unittest.cc ('k') | content/common/font_list_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698