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

Unified Diff: components/bookmarks/browser/bookmark_expanded_state_tracker.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
Index: components/bookmarks/browser/bookmark_expanded_state_tracker.cc
diff --git a/components/bookmarks/browser/bookmark_expanded_state_tracker.cc b/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
index 427f2d3c446d31b41c0bec168c92ccf136b435db..c08d8335672d117ac125986d5145c0a0e154b9be 100644
--- a/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
+++ b/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
@@ -107,7 +107,7 @@ void BookmarkExpandedStateTracker::UpdatePrefs(const Nodes& nodes) {
base::ListValue values;
for (Nodes::const_iterator i = nodes.begin(); i != nodes.end(); ++i) {
values.Set(values.GetSize(),
- new base::StringValue(base::Int64ToString((*i)->id())));
+ new base::Value(base::Int64ToString((*i)->id())));
}
pref_service_->Set(prefs::kBookmarkEditorExpandedNodes, values);

Powered by Google App Engine
This is Rietveld 408576698