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

Unified Diff: mojo/common/common_custom_types_unittest.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 | « ipc/ipc_message_utils_unittest.cc ('k') | mojo/common/values_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/common_custom_types_unittest.cc
diff --git a/mojo/common/common_custom_types_unittest.cc b/mojo/common/common_custom_types_unittest.cc
index 17478d1c681557e1502148b47612112b87cf3370..fe61a35cdcf47defb636db171d820ca007930d04 100644
--- a/mojo/common/common_custom_types_unittest.cc
+++ b/mojo/common/common_custom_types_unittest.cc
@@ -278,15 +278,15 @@ TEST_F(CommonCustomTypesTest, Value) {
ASSERT_TRUE(ptr->BounceValue(input->CreateDeepCopy(), &output));
EXPECT_TRUE(base::Value::Equals(input.get(), output.get()));
- input = base::MakeUnique<base::FundamentalValue>(123);
+ input = base::MakeUnique<base::Value>(123);
ASSERT_TRUE(ptr->BounceValue(input->CreateDeepCopy(), &output));
EXPECT_TRUE(base::Value::Equals(input.get(), output.get()));
- input = base::MakeUnique<base::FundamentalValue>(1.23);
+ input = base::MakeUnique<base::Value>(1.23);
ASSERT_TRUE(ptr->BounceValue(input->CreateDeepCopy(), &output));
EXPECT_TRUE(base::Value::Equals(input.get(), output.get()));
- input = base::MakeUnique<base::FundamentalValue>(false);
+ input = base::MakeUnique<base::Value>(false);
ASSERT_TRUE(ptr->BounceValue(input->CreateDeepCopy(), &output));
EXPECT_TRUE(base::Value::Equals(input.get(), output.get()));
« no previous file with comments | « ipc/ipc_message_utils_unittest.cc ('k') | mojo/common/values_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698