| Index: remoting/test/protocol_perftest.cc
|
| diff --git a/remoting/test/protocol_perftest.cc b/remoting/test/protocol_perftest.cc
|
| index df566af0808fb27a534cf8cdd6aec95445345773..3a9de4e83541f8c614da1f1ed81514c03b424cbf 100644
|
| --- a/remoting/test/protocol_perftest.cc
|
| +++ b/remoting/test/protocol_perftest.cc
|
| @@ -206,10 +206,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:
|
| @@ -363,9 +362,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() {
|
|
|