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

Unified Diff: components/sync/protocol/proto_value_conversions.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
« 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 95897e2568976ac942cf653da615f7f193ae7804..89c9983ae97eaecac5a8614fb8cac1a689d93ace 100644
--- a/components/sync/protocol/proto_value_conversions.cc
+++ b/components/sync/protocol/proto_value_conversions.cc
@@ -259,13 +259,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