| Index: remoting/host/host_change_notification_listener_unittest.cc
|
| diff --git a/remoting/host/host_change_notification_listener_unittest.cc b/remoting/host/host_change_notification_listener_unittest.cc
|
| index fe8ff27918e84cf8808089613a1ebdf076e9c18e..1a1d4667645abcad8a8c0ac4da2bf427cec3ea2a 100644
|
| --- a/remoting/host/host_change_notification_listener_unittest.cc
|
| +++ b/remoting/host/host_change_notification_listener_unittest.cc
|
| @@ -99,7 +99,7 @@ TEST_F(HostChangeNotificationListenerTest, ReceiveValidNotification) {
|
| host_change_notification_listener_->OnSignalStrategyIncomingStanza(
|
| stanza.get());
|
| message_loop_.task_runner()->PostTask(
|
| - FROM_HERE, base::Bind(base::MessageLoop::QuitWhenIdleClosure()));
|
| + FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
|
| base::RunLoop().Run();
|
| }
|
|
|
| @@ -112,7 +112,7 @@ TEST_F(HostChangeNotificationListenerTest, ReceiveNotificationBeforeDelete) {
|
| stanza.get());
|
| host_change_notification_listener_.reset();
|
| message_loop_.task_runner()->PostTask(
|
| - FROM_HERE, base::Bind(base::MessageLoop::QuitWhenIdleClosure()));
|
| + FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
|
| base::RunLoop().Run();
|
| }
|
|
|
| @@ -125,7 +125,7 @@ TEST_F(HostChangeNotificationListenerTest, ReceiveInvalidHostIdNotification) {
|
| host_change_notification_listener_->OnSignalStrategyIncomingStanza(
|
| stanza.get());
|
| message_loop_.task_runner()->PostTask(
|
| - FROM_HERE, base::Bind(base::MessageLoop::QuitWhenIdleClosure()));
|
| + FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
|
| base::RunLoop().Run();
|
| }
|
|
|
| @@ -137,7 +137,7 @@ TEST_F(HostChangeNotificationListenerTest, ReceiveInvalidBotJidNotification) {
|
| host_change_notification_listener_->OnSignalStrategyIncomingStanza(
|
| stanza.get());
|
| message_loop_.task_runner()->PostTask(
|
| - FROM_HERE, base::Bind(base::MessageLoop::QuitWhenIdleClosure()));
|
| + FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
|
| base::RunLoop().Run();
|
| }
|
|
|
| @@ -149,7 +149,7 @@ TEST_F(HostChangeNotificationListenerTest, ReceiveNonDeleteNotification) {
|
| host_change_notification_listener_->OnSignalStrategyIncomingStanza(
|
| stanza.get());
|
| message_loop_.task_runner()->PostTask(
|
| - FROM_HERE, base::Bind(base::MessageLoop::QuitWhenIdleClosure()));
|
| + FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
|
| base::RunLoop().Run();
|
| }
|
|
|
|
|