| Index: remoting/host/setup/me2me_native_messaging_host_unittest.cc
|
| diff --git a/remoting/host/setup/me2me_native_messaging_host_unittest.cc b/remoting/host/setup/me2me_native_messaging_host_unittest.cc
|
| index c03f2a75edd279bc5f65d276ebf5a642f460e8dc..2f837578341ac27333b6e3fbdfa4949605472a28 100644
|
| --- a/remoting/host/setup/me2me_native_messaging_host_unittest.cc
|
| +++ b/remoting/host/setup/me2me_native_messaging_host_unittest.cc
|
| @@ -322,7 +322,7 @@ void Me2MeNativeMessagingHostTest::SetUp() {
|
| }
|
|
|
| void Me2MeNativeMessagingHostTest::StartHost() {
|
| - DCHECK(host_task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(host_task_runner_->RunsTasksInCurrentSequence());
|
|
|
| base::File input_read_file;
|
| base::File output_write_file;
|
| @@ -366,7 +366,7 @@ void Me2MeNativeMessagingHostTest::StartHost() {
|
| }
|
|
|
| void Me2MeNativeMessagingHostTest::StopHost() {
|
| - DCHECK(host_task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(host_task_runner_->RunsTasksInCurrentSequence());
|
|
|
| native_messaging_pipe_.reset();
|
|
|
| @@ -378,7 +378,7 @@ void Me2MeNativeMessagingHostTest::StopHost() {
|
| }
|
|
|
| void Me2MeNativeMessagingHostTest::ExitTest() {
|
| - if (!test_message_loop_->task_runner()->RunsTasksOnCurrentThread()) {
|
| + if (!test_message_loop_->task_runner()->RunsTasksInCurrentSequence()) {
|
| test_message_loop_->task_runner()->PostTask(
|
| FROM_HERE,
|
| base::Bind(&Me2MeNativeMessagingHostTest::ExitTest,
|
|
|