summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_unittest.cc
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-04 22:28:12 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-04 22:28:12 +0000
commit753bb25fc70b560fb3539e2b63843a193ccb295a (patch)
treed42966216756764b92d90162e993ab766c307dc7 /ipc/ipc_channel_unittest.cc
parent715e27238d32ba17d2c06acf37bca40bb0a180cb (diff)
downloadchromium_src-753bb25fc70b560fb3539e2b63843a193ccb295a.zip
chromium_src-753bb25fc70b560fb3539e2b63843a193ccb295a.tar.gz
chromium_src-753bb25fc70b560fb3539e2b63843a193ccb295a.tar.bz2
Revert https://src.chromium.org/viewvc/chrome?view=rev&revision=231330
This is a speculative revert to see if it's the cause of hanging renderers. BUG=313112 Review URL: https://codereview.chromium.org/57783006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_unittest.cc')
-rw-r--r--ipc/ipc_channel_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipc/ipc_channel_unittest.cc b/ipc/ipc_channel_unittest.cc
index ead623e..eea432a 100644
--- a/ipc/ipc_channel_unittest.cc
+++ b/ipc/ipc_channel_unittest.cc
@@ -23,7 +23,9 @@ const size_t kLongMessageStringNumBytes = 50000;
static void Send(IPC::Sender* sender, const char* text) {
static int message_index = 0;
- IPC::Message* message = new IPC::Message(0, 2);
+ IPC::Message* message = new IPC::Message(0,
+ 2,
+ IPC::Message::PRIORITY_NORMAL);
message->WriteInt(message_index++);
message->WriteString(std::string(text));
@@ -92,7 +94,7 @@ TEST_F(IPCChannelTest, BasicMessageTest) {
std::string v2("foobar");
std::wstring v3(L"hello world");
- IPC::Message m(0, 1);
+ IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL);
EXPECT_TRUE(m.WriteInt(v1));
EXPECT_TRUE(m.WriteString(v2));
EXPECT_TRUE(m.WriteWString(v3));