Index: components/scheduler/child/web_scheduler_impl.cc |
diff --git a/components/scheduler/child/web_scheduler_impl.cc b/components/scheduler/child/web_scheduler_impl.cc |
index 5218b9b257b0ba84c4b472124377bd7b4c425861..0a918759dfb2f718cbd6144d79fee9cf20da39fd 100644 |
--- a/components/scheduler/child/web_scheduler_impl.cc |
+++ b/components/scheduler/child/web_scheduler_impl.cc |
@@ -101,8 +101,7 @@ void WebSchedulerImpl::postTimerTask( |
scoped_ptr<blink::WebThread::Task> scoped_task(task); |
tracked_objects::Location location(web_location.functionName(), |
web_location.fileName(), -1, nullptr); |
- // Timer tasks should not run in a nested messageloop. |
- timer_task_runner_->PostNonNestableDelayedTask( |
+ timer_task_runner_->PostDelayedTask( |
location, |
base::Bind(&WebSchedulerImpl::runTask, base::Passed(&scoped_task)), |
base::TimeDelta::FromMilliseconds(delayMs)); |