| Index: components/password_manager/core/browser/affiliation_service.cc
|
| diff --git a/components/password_manager/core/browser/affiliation_service.cc b/components/password_manager/core/browser/affiliation_service.cc
|
| index b47ec07d533f1caf038af1736b00b6905979a92a..23ed54def3eaec80f3d4fa5c58215ef8f974de83 100644
|
| --- a/components/password_manager/core/browser/affiliation_service.cc
|
| +++ b/components/password_manager/core/browser/affiliation_service.cc
|
| @@ -56,18 +56,14 @@ void AffiliationService::GetAffiliations(
|
| result_callback, base::ThreadTaskRunnerHandle::Get()));
|
| }
|
|
|
| -AffiliationService::CancelPrefetchingHandle AffiliationService::Prefetch(
|
| - const FacetURI& facet_uri,
|
| - const base::Time& keep_fresh_until) {
|
| +void AffiliationService::Prefetch(const FacetURI& facet_uri,
|
| + const base::Time& keep_fresh_until) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| DCHECK(backend_);
|
| backend_task_runner_->PostTask(
|
| FROM_HERE,
|
| base::Bind(&AffiliationBackend::Prefetch, base::Unretained(backend_),
|
| facet_uri, keep_fresh_until));
|
| - return base::Bind(&AffiliationService::CancelPrefetch,
|
| - weak_ptr_factory_.GetWeakPtr(), facet_uri,
|
| - keep_fresh_until);
|
| }
|
|
|
| void AffiliationService::CancelPrefetch(const FacetURI& facet_uri,
|
|
|