Index: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
index 2ad335e3792c97fb3b5de23cd3aec19bcfec0f5f..033d23c875ebc11a90765aa6835ff2af77159217 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
@@ -457,8 +457,9 @@ TEST_F(LastDownloadFinderTest, AddProfileAfterStarting) { |
// Post a task that will create a second profile once the main loop is run. |
base::ThreadTaskRunnerHandle::Get()->PostTask( |
- FROM_HERE, base::Bind(&LastDownloadFinderTest::CreateProfileWithDownload, |
- base::Unretained(this))); |
+ FROM_HERE, |
+ base::BindOnce(&LastDownloadFinderTest::CreateProfileWithDownload, |
+ base::Unretained(this))); |
// Create a finder that we expect will find a download in the second profile. |
std::unique_ptr<LastDownloadFinder> finder(LastDownloadFinder::Create( |