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

Unified Diff: components/bookmarks/browser/bookmark_codec.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_codec.cc
diff --git a/components/bookmarks/browser/bookmark_codec.cc b/components/bookmarks/browser/bookmark_codec.cc
index 38a3784457918c882970550eefde82d55ce319a6..abbb1cd7b64289eceba9eff25a87872d786d9304 100644
--- a/components/bookmarks/browser/bookmark_codec.cc
+++ b/components/bookmarks/browser/bookmark_codec.cc
@@ -89,7 +89,7 @@ base::Value* BookmarkCodec::Encode(
// We are going to store the computed checksum. So set stored checksum to be
// the same as computed checksum.
stored_checksum_ = computed_checksum_;
- main->Set(kChecksumKey, new base::StringValue(computed_checksum_));
+ main->Set(kChecksumKey, new base::Value(computed_checksum_));
main->Set(kRootsKey, roots);
return main;
}

Powered by Google App Engine
This is Rietveld 408576698