| Index: third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
|
| index 615f8d7984da1718c31c7c34bbddb519c98a9323..0ce84fae25ed66dcbba5b419fcc111498026b648 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
|
| +++ b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
|
| @@ -288,7 +288,7 @@ void IdleHelper::OnIdleTaskPosted() {
|
| "OnIdleTaskPosted");
|
| if (is_shutdown_)
|
| return;
|
| - if (idle_task_runner_->RunsTasksOnCurrentThread()) {
|
| + if (idle_task_runner_->RunsTasksInCurrentSequence()) {
|
| OnIdleTaskPostedOnMainThread();
|
| } else {
|
| helper_->ControlTaskQueue()->PostTask(
|
|
|