| 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 8824f81f05c2555e7d49ae6d03da7f79acbdad49..d16f79c12cfe3243d6b451d5c98010e8ddc00e43 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() {
|
| TRACE_EVENT0(disabled_by_default_tracing_category_, "OnIdleTaskPosted");
|
| if (is_shutdown_)
|
| return;
|
| - if (idle_task_runner_->RunsTasksOnCurrentThread()) {
|
| + if (idle_task_runner_->RunsTasksInCurrentSequence()) {
|
| OnIdleTaskPostedOnMainThread();
|
| } else {
|
| helper_->ControlTaskQueue()->PostTask(
|
|
|