summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_message_unittest.cc')
-rw-r--r--ipc/ipc_message_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_message_unittest.cc b/ipc/ipc_message_unittest.cc
index 971314a..e5215ce3 100644
--- a/ipc/ipc_message_unittest.cc
+++ b/ipc/ipc_message_unittest.cc
@@ -19,7 +19,7 @@ TEST(IPCMessageTest, ListValue) {
input.Set(1, new base::StringValue("forty"));
input.Set(2, base::Value::CreateNullValue());
- IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
+ IPC::Message msg(1, 2);
IPC::WriteParam(&msg, input);
base::ListValue output;
@@ -29,7 +29,7 @@ TEST(IPCMessageTest, ListValue) {
EXPECT_TRUE(input.Equals(&output));
// Also test the corrupt case.
- IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL);
+ IPC::Message bad_msg(1, 2);
bad_msg.WriteInt(99);
iter = PickleIterator(bad_msg);
EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output));
@@ -54,7 +54,7 @@ TEST(IPCMessageTest, DictionaryValue) {
input.Set("dict", subdict.release());
- IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL);
+ IPC::Message msg(1, 2);
IPC::WriteParam(&msg, input);
base::DictionaryValue output;
@@ -64,7 +64,7 @@ TEST(IPCMessageTest, DictionaryValue) {
EXPECT_TRUE(input.Equals(&output));
// Also test the corrupt case.
- IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL);
+ IPC::Message bad_msg(1, 2);
bad_msg.WriteInt(99);
iter = PickleIterator(bad_msg);
EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output));