Index: sync/sessions/sync_session_unittest.cc |
diff --git a/sync/sessions/sync_session_unittest.cc b/sync/sessions/sync_session_unittest.cc |
index 285f33a3dc0e713c9cefc61b30d3e5434a644345..e23f6f6a2340351e0184f9e502509e3e3da82ec1 100644 |
--- a/sync/sessions/sync_session_unittest.cc |
+++ b/sync/sessions/sync_session_unittest.cc |
@@ -347,7 +347,7 @@ TEST_F(SyncSessionTest, RebaseRoutingInfoWithLatestRemoveOneType) { |
EXPECT_EQ(expected_enabled_groups_one, one.GetEnabledGroups()); |
EXPECT_EQ(expected_enabled_groups_two, two.GetEnabledGroups()); |
- two.RebaseRoutingInfoWithLatest(one); |
+ two.RebaseRoutingInfoWithLatest(one.routing_info(), one.workers()); |
EXPECT_EQ(expected_enabled_groups_one, one.GetEnabledGroups()); |
EXPECT_EQ(expected_enabled_groups_one, two.GetEnabledGroups()); |
@@ -417,7 +417,7 @@ TEST_F(SyncSessionTest, RebaseRoutingInfoWithLatestWithSameType) { |
EXPECT_EQ(expected_enabled_groups, first.GetEnabledGroups()); |
EXPECT_EQ(expected_enabled_groups, second.GetEnabledGroups()); |
- second.RebaseRoutingInfoWithLatest(first); |
+ second.RebaseRoutingInfoWithLatest(first.routing_info(), first.workers()); |
EXPECT_EQ(expected_enabled_groups, first.GetEnabledGroups()); |
EXPECT_EQ(expected_enabled_groups, second.GetEnabledGroups()); |