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

Unified Diff: content/common/font_list_win.cc

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/font_list_mac.mm ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_list_win.cc
diff --git a/content/common/font_list_win.cc b/content/common/font_list_win.cc
index 8d00e0a75fc1415c0366eaf9ffc3842f0ac3b21e..38402c528eae4cbfc5ec6600891ff98a3de35540 100644
--- a/content/common/font_list_win.cc
+++ b/content/common/font_list_win.cc
@@ -46,8 +46,8 @@ std::unique_ptr<base::ListValue> GetFontList_SlowBlocking() {
std::set<base::string16>::iterator iter;
for (iter = font_names.begin(); iter != font_names.end(); ++iter) {
base::ListValue* font_item = new base::ListValue();
- font_item->Append(new base::StringValue(*iter));
- font_item->Append(new base::StringValue(*iter));
+ font_item->Append(new base::Value(*iter));
+ font_item->Append(new base::Value(*iter));
font_list->Append(font_item);
}
return font_list;
« no previous file with comments | « content/common/font_list_mac.mm ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698