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

Unified Diff: mojo/common/values_struct_traits.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 | « mojo/common/common_custom_types_unittest.cc ('k') | net/log/net_log_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/values_struct_traits.cc
diff --git a/mojo/common/values_struct_traits.cc b/mojo/common/values_struct_traits.cc
index 8b936fdaeb645cbd50aaff1517ac12f5ed0a024c..9c5df7ab61ecd171a338fc1c7688c3cf3d62210a 100644
--- a/mojo/common/values_struct_traits.cc
+++ b/mojo/common/values_struct_traits.cc
@@ -62,16 +62,15 @@ bool UnionTraits<common::mojom::ValueDataView, std::unique_ptr<base::Value>>::
return true;
}
case common::mojom::ValueDataView::Tag::BOOL_VALUE: {
- *value_out = base::MakeUnique<base::FundamentalValue>(data.bool_value());
+ *value_out = base::MakeUnique<base::Value>(data.bool_value());
return true;
}
case common::mojom::ValueDataView::Tag::INT_VALUE: {
- *value_out = base::MakeUnique<base::FundamentalValue>(data.int_value());
+ *value_out = base::MakeUnique<base::Value>(data.int_value());
return true;
}
case common::mojom::ValueDataView::Tag::DOUBLE_VALUE: {
- *value_out =
- base::MakeUnique<base::FundamentalValue>(data.double_value());
+ *value_out = base::MakeUnique<base::Value>(data.double_value());
return true;
}
case common::mojom::ValueDataView::Tag::STRING_VALUE: {
« no previous file with comments | « mojo/common/common_custom_types_unittest.cc ('k') | net/log/net_log_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698