| Index: third_party/WebKit/Source/platform/threading/BackgroundTaskRunner.cpp
|
| diff --git a/third_party/WebKit/Source/platform/threading/BackgroundTaskRunner.cpp b/third_party/WebKit/Source/platform/threading/BackgroundTaskRunner.cpp
|
| index 7f865c40931f16b04686603da1163317481adeeb..ea04b97b8fd27da87b0f51b2fc81337f9c20138e 100644
|
| --- a/third_party/WebKit/Source/platform/threading/BackgroundTaskRunner.cpp
|
| +++ b/third_party/WebKit/Source/platform/threading/BackgroundTaskRunner.cpp
|
| @@ -5,7 +5,7 @@
|
| #include "platform/threading/BackgroundTaskRunner.h"
|
|
|
| #include "base/location.h"
|
| -#include "base/threading/worker_pool.h"
|
| +#include "base/task_scheduler/post_task.h"
|
| #include "public/platform/WebTraceLocation.h"
|
|
|
| namespace blink {
|
| @@ -13,8 +13,9 @@ namespace blink {
|
| void BackgroundTaskRunner::PostOnBackgroundThread(
|
| const WebTraceLocation& location,
|
| std::unique_ptr<CrossThreadClosure> closure) {
|
| - base::WorkerPool::PostTask(
|
| - location, ConvertToBaseCallback(std::move(closure)), false /* ignored */);
|
| + base::PostTaskWithTraits(location,
|
| + {base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN},
|
| + ConvertToBaseCallback(std::move(closure)));
|
| }
|
|
|
| } // namespace blink
|
|
|