diff options
Diffstat (limited to 'ipc/ipc_perftests.cc')
-rw-r--r-- | ipc/ipc_perftests.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_perftests.cc b/ipc/ipc_perftests.cc index e7eeab9..8b651e2 100644 --- a/ipc/ipc_perftests.cc +++ b/ipc/ipc_perftests.cc @@ -122,7 +122,7 @@ class ChannelReflectorListener : public IPC::Listener { base::TimeTicks::FromInternalValue(time_internal), now); } - IPC::Message* msg = new IPC::Message(0, 2, IPC::Message::PRIORITY_NORMAL); + IPC::Message* msg = new IPC::Message(0, 2); msg->WriteInt64(base::TimeTicks::Now().ToInternalValue()); msg->WriteInt(msgid); msg->WriteString(payload); @@ -201,7 +201,7 @@ class PerformanceChannelListener : public IPC::Listener { } } - IPC::Message* msg = new IPC::Message(0, 2, IPC::Message::PRIORITY_NORMAL); + IPC::Message* msg = new IPC::Message(0, 2); msg->WriteInt64(base::TimeTicks::Now().ToInternalValue()); msg->WriteInt(count_down_); msg->WriteString(payload_); @@ -239,7 +239,7 @@ TEST_F(IPCChannelPerfTest, Performance) { // This initial message will kick-start the ping-pong of messages. IPC::Message* message = - new IPC::Message(0, 2, IPC::Message::PRIORITY_NORMAL); + new IPC::Message(0, 2); message->WriteInt64(base::TimeTicks::Now().ToInternalValue()); message->WriteInt(-1); message->WriteString("hello"); @@ -252,7 +252,7 @@ TEST_F(IPCChannelPerfTest, Performance) { } // Send quit message. - IPC::Message* message = new IPC::Message(0, 2, IPC::Message::PRIORITY_NORMAL); + IPC::Message* message = new IPC::Message(0, 2); message->WriteInt64(base::TimeTicks::Now().ToInternalValue()); message->WriteInt(-1); message->WriteString("quit"); |