| Index: remoting/test/protocol_perftest.cc
|
| diff --git a/remoting/test/protocol_perftest.cc b/remoting/test/protocol_perftest.cc
|
| index ff91f6fa95835f28b3371ca5a41a94c1b9a62234..cb4f9b3f1a4497b49f8dce7c48ca601ce7312bee 100644
|
| --- a/remoting/test/protocol_perftest.cc
|
| +++ b/remoting/test/protocol_perftest.cc
|
| @@ -210,10 +210,9 @@ class ProtocolPerfTest
|
|
|
| // HostStatusObserver interface.
|
| void OnClientConnected(const std::string& jid) override {
|
| - message_loop_.PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&ProtocolPerfTest::OnHostConnectedMainThread,
|
| - base::Unretained(this)));
|
| + message_loop_.task_runner()->PostTask(
|
| + FROM_HERE, base::Bind(&ProtocolPerfTest::OnHostConnectedMainThread,
|
| + base::Unretained(this)));
|
| }
|
|
|
| protected:
|
| @@ -367,9 +366,9 @@ class ProtocolPerfTest
|
| host_->AddStatusObserver(this);
|
| host_->Start(kHostOwner);
|
|
|
| - message_loop_.PostTask(FROM_HERE,
|
| - base::Bind(&ProtocolPerfTest::StartClientAfterHost,
|
| - base::Unretained(this)));
|
| + message_loop_.task_runner()->PostTask(
|
| + FROM_HERE, base::Bind(&ProtocolPerfTest::StartClientAfterHost,
|
| + base::Unretained(this)));
|
| }
|
|
|
| void StartClientAfterHost() {
|
|
|