Index: sync/tools/sync_listen_notifications.cc |
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc |
index 13468a4cbd968abf839e82cf86b932b1fa5e40cc..c6cc11f10c8d408039dd48b97673e0d8c4e16ba6 100644 |
--- a/sync/tools/sync_listen_notifications.cc |
+++ b/sync/tools/sync_listen_notifications.cc |
@@ -201,8 +201,8 @@ int SyncListenNotificationsMain(int argc, char* argv[]) { |
// Listen for notifications for all known types. |
invalidator->RegisterHandler(¬ification_printer); |
- invalidator->UpdateRegisteredIds( |
- ¬ification_printer, ModelTypeSetToObjectIdSet(ModelTypeSet::All())); |
+ CHECK(invalidator->UpdateRegisteredIds( |
+ ¬ification_printer, ModelTypeSetToObjectIdSet(ModelTypeSet::All()))); |
ui_loop.Run(); |