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

Unified Diff: components/sync/syncable/entry_kernel.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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/sync/syncable/entry_kernel.cc
diff --git a/components/sync/syncable/entry_kernel.cc b/components/sync/syncable/entry_kernel.cc
index 45f61a1d0da3ea0adf13c5f503dae8337a4e5b1f..20cb7b4a3dfb19d33c2f2f8be88aad313002461d 100644
--- a/components/sync/syncable/entry_kernel.cc
+++ b/components/sync/syncable/entry_kernel.cc
@@ -133,8 +133,8 @@ base::StringValue* IdToValue(const Id& id) {
return id.ToValue();
}
-base::FundamentalValue* BooleanToValue(bool bool_val) {
- return new base::FundamentalValue(bool_val);
+base::Value* BooleanToValue(bool bool_val) {
+ return new base::Value(bool_val);
}
base::StringValue* StringToValue(const std::string& str) {
« no previous file with comments | « components/sync/protocol/proto_value_conversions.cc ('k') | components/sync_preferences/pref_model_associator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698