Index: chrome/browser/download/download_target_determiner.cc |
diff --git a/chrome/browser/download/download_target_determiner.cc b/chrome/browser/download/download_target_determiner.cc |
index f1d1845138c9e82acb617c042c178e5ba0136088..95ea343930bbb2e5c331c55caa29b565349b8ee4 100644 |
--- a/chrome/browser/download/download_target_determiner.cc |
+++ b/chrome/browser/download/download_target_determiner.cc |
@@ -8,6 +8,7 @@ |
#include "base/rand_util.h" |
#include "base/single_thread_task_runner.h" |
#include "base/strings/stringprintf.h" |
+#include "base/task_scheduler/post_task.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "base/time/time.h" |
#include "build/build_config.h" |
@@ -567,9 +568,8 @@ DownloadTargetDeterminer::Result |
return CONTINUE; |
} |
- base::PostTaskAndReplyWithResult( |
- BrowserThread::GetBlockingPool(), |
- FROM_HERE, |
+ base::PostTaskWithTraitsAndReplyWithResult( |
+ FROM_HERE, base::TaskTraits().MayBlock(), |
base::Bind(&::IsAdobeReaderUpToDate), |
base::Bind(&DownloadTargetDeterminer::DetermineIfAdobeReaderUpToDateDone, |
weak_ptr_factory_.GetWeakPtr())); |