Index: components/suggestions/suggestions_service_impl_unittest.cc |
diff --git a/components/suggestions/suggestions_service_impl_unittest.cc b/components/suggestions/suggestions_service_impl_unittest.cc |
index bc3aafcfda6a5a1154f1aefe22d135517b4d0807..829c053691298cbe422799abc448eef9013089cc 100644 |
--- a/components/suggestions/suggestions_service_impl_unittest.cc |
+++ b/components/suggestions/suggestions_service_impl_unittest.cc |
@@ -398,7 +398,7 @@ TEST_F(SuggestionsServiceTest, FetchSuggestionsDataSyncDisabled) { |
// Tell SuggestionsService that the sync state changed. The cache should be |
// cleared and empty data returned to the callback. |
- suggestions_service->OnStateChanged(); |
+ suggestions_service->OnStateChanged(mock_sync_service_.get()); |
// Ensure that CheckCallback ran once with empty data. |
EXPECT_EQ(1, suggestions_data_callback_count_); |