| Index: chrome/browser/safe_browsing/download_protection_service.cc
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service.cc b/chrome/browser/safe_browsing/download_protection_service.cc
|
| index 021bd1cc4d2ae4dfb47218d73dce5d2518007abb..6681ae3ea1453e15681cca7583c4fe4d0fb80954 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service.cc
|
| @@ -671,11 +671,8 @@ class DownloadProtectionService::CheckClientDownloadRequest
|
| // The task does not need to block shutdown.
|
| base::PostTaskWithTraits(
|
| FROM_HERE,
|
| - base::TaskTraits()
|
| - .MayBlock()
|
| - .WithPriority(base::TaskPriority::BACKGROUND)
|
| - .WithShutdownBehavior(
|
| - base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN),
|
| + {base::MayBlock(), base::TaskPriority::BACKGROUND,
|
| + base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN},
|
| base::BindOnce(&CheckClientDownloadRequest::ExtractFileFeatures, this,
|
| item_->GetFullPath()));
|
| }
|
|
|