Index: components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc |
diff --git a/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc b/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc |
index 55a7bd79d53d43e348f62e03509d3efdc5651d96..96985ec3881ec2993fe091ad9212ff5665a32460 100644 |
--- a/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc |
+++ b/components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc |
@@ -175,8 +175,8 @@ class NTPSnippetsFetcherTest : public testing::Test { |
base::Bind(&ParseJsonDelayed), kAPIKey, user_classifier_.get()); |
snippets_fetcher_->SetCallback( |
- base::Bind(&MockSnippetsAvailableCallback::WrappedRun, |
- base::Unretained(&mock_callback_))); |
+ base::BindOnce(&MockSnippetsAvailableCallback::WrappedRun, |
+ base::Unretained(&mock_callback_))); |
snippets_fetcher_->SetTickClockForTesting( |
mock_task_runner_->GetMockTickClock()); |
test_excluded_.insert("1234567890"); |