| Index: net/test/spawned_test_server/spawner_communicator.cc
|
| diff --git a/net/test/spawned_test_server/spawner_communicator.cc b/net/test/spawned_test_server/spawner_communicator.cc
|
| index cfa509b722ac517549b958e870297bb752a87fcf..05865d94efc50a2afb906e20a51c46468dd0ab4e 100644
|
| --- a/net/test/spawned_test_server/spawner_communicator.cc
|
| +++ b/net/test/spawned_test_server/spawner_communicator.cc
|
| @@ -175,7 +175,7 @@ void SpawnerCommunicator::SendCommandAndWaitForResultOnIOThread(
|
| std::string* data_received) {
|
| base::MessageLoop* loop = io_thread_.message_loop();
|
| DCHECK(loop);
|
| - DCHECK_EQ(base::MessageLoop::current(), loop);
|
| + DCHECK(loop->task_runner()->BelongsToCurrentThread());
|
|
|
| // Prepare the URLRequest for sending the command.
|
| DCHECK(!cur_request_.get());
|
|
|