Index: ipc/ipc_message_unittest.cc |
diff --git a/ipc/ipc_message_unittest.cc b/ipc/ipc_message_unittest.cc |
index bde96a13e72ba3c6fb2f305ac9216f28d55e7417..fd08452a14fa0151d56aa4db5eea9d25c934f38c 100644 |
--- a/ipc/ipc_message_unittest.cc |
+++ b/ipc/ipc_message_unittest.cc |
@@ -66,7 +66,7 @@ TEST(IPCMessageTest, BasicMessageTest) { |
TEST(IPCMessageTest, ListValue) { |
base::ListValue input; |
input.Set(0, new base::Value(42.42)); |
- input.Set(1, new base::StringValue("forty")); |
+ input.Set(1, new base::Value("forty")); |
input.Set(2, base::Value::CreateNullValue()); |
IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); |
@@ -93,13 +93,13 @@ TEST(IPCMessageTest, DictionaryValue) { |
input.SetWithoutPathExpansion("int.with.dot", new base::Value(43)); |
std::unique_ptr<base::DictionaryValue> subdict(new base::DictionaryValue()); |
- subdict->Set("str", new base::StringValue("forty two")); |
+ subdict->Set("str", new base::Value("forty two")); |
subdict->Set("bool", new base::Value(false)); |
std::unique_ptr<base::ListValue> sublist(new base::ListValue()); |
sublist->Set(0, new base::Value(42.42)); |
- sublist->Set(1, new base::StringValue("forty")); |
- sublist->Set(2, new base::StringValue("two")); |
+ sublist->Set(1, new base::Value("forty")); |
+ sublist->Set(2, new base::Value("two")); |
subdict->Set("list", sublist.release()); |
input.Set("dict", subdict.release()); |