| Index: sync/tools/sync_listen_notifications.cc
|
| diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc
|
| index aec1a547daf7b7b1f61889ec392cc64eb01761e9..ecb9b37a25032f6497b191631c20799deffb0d54 100644
|
| --- a/sync/tools/sync_listen_notifications.cc
|
| +++ b/sync/tools/sync_listen_notifications.cc
|
| @@ -16,6 +16,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/rand_util.h"
|
| +#include "base/run_loop.h"
|
| #include "base/threading/thread.h"
|
| #include "build/build_config.h"
|
| #include "components/invalidation/impl/invalidation_state_tracker.h"
|
| @@ -203,7 +204,7 @@ int SyncListenNotificationsMain(int argc, char* argv[]) {
|
| CHECK(invalidator->UpdateRegisteredIds(
|
| ¬ification_printer, ModelTypeSetToObjectIdSet(ModelTypeSet::All())));
|
|
|
| - ui_loop.Run();
|
| + base::RunLoop().Run();
|
|
|
| invalidator->UnregisterHandler(¬ification_printer);
|
| io_thread.Stop();
|
|
|