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

Unified Diff: components/sync/protocol/proto_value_conversions.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
« no previous file with comments | « components/sync/driver/sync_policy_handler_unittest.cc ('k') | components/sync/syncable/entry_kernel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/protocol/proto_value_conversions.cc
diff --git a/components/sync/protocol/proto_value_conversions.cc b/components/sync/protocol/proto_value_conversions.cc
index 1f6bf95b148b1c61af1845a514069270b84f198d..dc92880d5cb3b46faab0fc3233e04b9f1b598607 100644
--- a/components/sync/protocol/proto_value_conversions.cc
+++ b/components/sync/protocol/proto_value_conversions.cc
@@ -234,13 +234,13 @@ class ToValueVisitor {
}
std::unique_ptr<base::Value> ToValue(bool value) const {
- return base::MakeUnique<base::FundamentalValue>(value);
+ return base::MakeUnique<base::Value>(value);
}
std::unique_ptr<base::Value> ToValue(float value) const {
- return base::MakeUnique<base::FundamentalValue>(value);
+ return base::MakeUnique<base::Value>(value);
}
std::unique_ptr<base::Value> ToValue(double value) const {
- return base::MakeUnique<base::FundamentalValue>(value);
+ return base::MakeUnique<base::Value>(value);
}
// Needs to be here to see all ToValue() overloads above.
« no previous file with comments | « components/sync/driver/sync_policy_handler_unittest.cc ('k') | components/sync/syncable/entry_kernel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698