Index: chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc |
diff --git a/chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc b/chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc |
index acf0898f554ec057eaeadb9fbfa0cb05e2c1d00b..7b3139a4b8a3bfef4423a731672b8d7809d3ed61 100644 |
--- a/chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc |
+++ b/chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc |
@@ -53,12 +53,8 @@ class FakeSyncNotifierObserver : public syncer::SyncNotifierObserver { |
expected_payloads_(expected_payloads), |
expected_source_(expected_source) { |
DCHECK(sync_task_runner_->RunsTasksOnCurrentThread()); |
- // TODO(dcheng): We might want a function to go from ObjectIdPayloadMap -> |
- // ObjectIdSet to avoid this rather long incantation... |
- const syncer::ObjectIdSet& ids = syncer::ModelTypeSetToObjectIdSet( |
- syncer::ModelTypePayloadMapToEnumSet( |
- syncer::ObjectIdPayloadMapToModelTypePayloadMap( |
- expected_payloads))); |
+ const syncer::ObjectIdSet& ids = |
+ syncer::ObjectIdPayloadMapToSet(expected_payloads); |
bridge_->UpdateRegisteredIds(this, ids); |
} |