| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index 3afae54e364f3fe05dd06c614a07d12b65af789b..4e730e6c6f346b79c4749d51b6e70b3114fbb0ec 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -26,7 +26,7 @@
|
| #include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| -#include "base/threading/sequenced_worker_pool.h"
|
| +#include "base/task_scheduler/post_task.h"
|
| #include "base/threading/thread.h"
|
| #include "base/time/time.h"
|
| #include "base/trace_event/trace_event.h"
|
| @@ -1080,9 +1080,12 @@ net::URLRequestContext* IOThread::ConstructProxyScriptFetcherContext(
|
| job_factory->SetProtocolHandler(
|
| url::kFileScheme,
|
| base::MakeUnique<net::FileProtocolHandler>(
|
| - content::BrowserThread::GetBlockingPool()
|
| - ->GetTaskRunnerWithShutdownBehavior(
|
| - base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)));
|
| + base::CreateTaskRunnerWithTraits(
|
| + base::TaskTraits()
|
| + .MayBlock()
|
| + .WithPriority(base::TaskPriority::USER_VISIBLE)
|
| + .WithShutdownBehavior(
|
| + base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN))));
|
| #if !BUILDFLAG(DISABLE_FTP_SUPPORT)
|
| job_factory->SetProtocolHandler(
|
| url::kFtpScheme,
|
|
|