| Index: chrome/browser/safe_browsing/client_side_detection_host.cc
|
| diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| index b5eb0d72a5f9b65f20e7c93a6bb53d839a949e76..b12aa7d85221d5ccf55ab21453e1658b7bfe4a68 100644
|
| --- a/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| +++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| @@ -133,10 +133,9 @@ class ClientSideDetectionHost::ShouldClassifyUrlRequest
|
| // uses the SafeBrowsing service class.
|
| if (ShouldClassifyForPhishing() || ShouldClassifyForMalware()) {
|
| BrowserThread::PostTask(
|
| - BrowserThread::IO,
|
| - FROM_HERE,
|
| - base::Bind(&ShouldClassifyUrlRequest::CheckSafeBrowsingDatabase,
|
| - this, url_));
|
| + BrowserThread::IO, FROM_HERE,
|
| + base::BindOnce(&ShouldClassifyUrlRequest::CheckSafeBrowsingDatabase,
|
| + this, url_));
|
| }
|
| }
|
|
|
| @@ -233,12 +232,9 @@ class ClientSideDetectionHost::ShouldClassifyUrlRequest
|
| }
|
| }
|
| BrowserThread::PostTask(
|
| - BrowserThread::UI,
|
| - FROM_HERE,
|
| - base::Bind(&ShouldClassifyUrlRequest::CheckCache,
|
| - this,
|
| - phishing_reason,
|
| - malware_reason));
|
| + BrowserThread::UI, FROM_HERE,
|
| + base::BindOnce(&ShouldClassifyUrlRequest::CheckCache, this,
|
| + phishing_reason, malware_reason));
|
| }
|
|
|
| void CheckCache(PreClassificationCheckFailures phishing_reason,
|
|
|