| Index: jingle/notifier/listener/xmpp_push_client_unittest.cc
|
| diff --git a/jingle/notifier/listener/xmpp_push_client_unittest.cc b/jingle/notifier/listener/xmpp_push_client_unittest.cc
|
| index f219356606e772fd493c52b1a60e5b9b19f57927..f502f0920ba9edae2857622786f56fab7539bec8 100644
|
| --- a/jingle/notifier/listener/xmpp_push_client_unittest.cc
|
| +++ b/jingle/notifier/listener/xmpp_push_client_unittest.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "jingle/notifier/base/fake_base_task.h"
|
| #include "jingle/notifier/base/notifier_options.h"
|
| #include "jingle/notifier/listener/push_client_observer.h"
|
| @@ -48,7 +49,7 @@ class XmppPushClientTest : public testing::Test {
|
|
|
| void TearDown() override {
|
| // Clear out any messages posted by XmppPushClient.
|
| - message_loop_.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| xmpp_push_client_->RemoveObserver(&mock_observer_);
|
| xmpp_push_client_.reset();
|
| }
|
|
|