| Index: mojo/edk/system/channel_unittest.cc
|
| diff --git a/mojo/edk/system/channel_unittest.cc b/mojo/edk/system/channel_unittest.cc
|
| index f6cf8967919741f1422f64f214d8d07543fafe4d..68b1315a2b522a67bc1b0d9f78a2d9b4ffc574cd 100644
|
| --- a/mojo/edk/system/channel_unittest.cc
|
| +++ b/mojo/edk/system/channel_unittest.cc
|
| @@ -104,9 +104,8 @@ TEST_F(ChannelTest, InitShutdown) {
|
| EXPECT_EQ(TRISTATE_TRUE, init_result());
|
|
|
| io_thread()->PostTaskAndWait(
|
| - FROM_HERE,
|
| - base::Bind(&ChannelTest::ShutdownChannelOnIOThread,
|
| - base::Unretained(this)));
|
| + FROM_HERE, base::Bind(&ChannelTest::ShutdownChannelOnIOThread,
|
| + base::Unretained(this)));
|
|
|
| // Okay to destroy |Channel| on not-the-I/O-thread.
|
| EXPECT_TRUE(channel()->HasOneRef());
|
| @@ -203,9 +202,8 @@ TEST_F(ChannelTest, CloseBeforeRun) {
|
| channel()->AttachAndRunEndpoint(channel_endpoint, true);
|
|
|
| io_thread()->PostTaskAndWait(
|
| - FROM_HERE,
|
| - base::Bind(&ChannelTest::ShutdownChannelOnIOThread,
|
| - base::Unretained(this)));
|
| + FROM_HERE, base::Bind(&ChannelTest::ShutdownChannelOnIOThread,
|
| + base::Unretained(this)));
|
|
|
| EXPECT_TRUE(channel()->HasOneRef());
|
| }
|
| @@ -273,9 +271,8 @@ TEST_F(ChannelTest, WaitAfterAttachRunAndShutdown) {
|
| channel()->AttachAndRunEndpoint(channel_endpoint, true);
|
|
|
| io_thread()->PostTaskAndWait(
|
| - FROM_HERE,
|
| - base::Bind(&ChannelTest::ShutdownChannelOnIOThread,
|
| - base::Unretained(this)));
|
| + FROM_HERE, base::Bind(&ChannelTest::ShutdownChannelOnIOThread,
|
| + base::Unretained(this)));
|
|
|
| Waiter waiter;
|
| waiter.Init();
|
|
|