Index: chrome/browser/safe_browsing/notification_image_reporter_unittest.cc |
diff --git a/chrome/browser/safe_browsing/notification_image_reporter_unittest.cc b/chrome/browser/safe_browsing/notification_image_reporter_unittest.cc |
index 2e0a6baf1178d34903df003f5396bb5d1db29fb7..780ff24b80713cfedb3d1f0bfe803013db051af1 100644 |
--- a/chrome/browser/safe_browsing/notification_image_reporter_unittest.cc |
+++ b/chrome/browser/safe_browsing/notification_image_reporter_unittest.cc |
@@ -51,8 +51,8 @@ class TestingNotificationImageReporter : public NotificationImageReporter { |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
BrowserThread::PostTask( |
BrowserThread::UI, FROM_HERE, |
- base::Bind(&TestingNotificationImageReporter::SkippedReportingOnUI, |
- base::Unretained(this))); |
+ base::BindOnce(&TestingNotificationImageReporter::SkippedReportingOnUI, |
+ base::Unretained(this))); |
} |
private: |
@@ -144,8 +144,8 @@ void NotificationImageReporterTest::SetUp() { |
base::RunLoop run_loop; |
BrowserThread::PostTaskAndReply( |
BrowserThread::IO, FROM_HERE, |
- base::Bind(&NotificationImageReporterTest::SetUpOnIO, |
- base::Unretained(this)), |
+ base::BindOnce(&NotificationImageReporterTest::SetUpOnIO, |
+ base::Unretained(this)), |
run_loop.QuitClosure()); |
run_loop.Run(); |
} |
@@ -180,8 +180,9 @@ void NotificationImageReporterTest::ReportNotificationImage() { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
- base::Bind(&NotificationImageReporterTest::ReportNotificationImageOnIO, |
- base::Unretained(this))); |
+ base::BindOnce( |
+ &NotificationImageReporterTest::ReportNotificationImageOnIO, |
+ base::Unretained(this))); |
} |
void NotificationImageReporterTest::ReportNotificationImageOnIO() { |