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

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

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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 2aaf8d1dcd9126f672aab637395ce27e64d3aea5..0e766fb4a4c65fe52d84f06f4db8bd939d72a004 100644
--- a/components/sync/syncable/entry_kernel.cc
+++ b/components/sync/syncable/entry_kernel.cc
@@ -131,8 +131,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