Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: content/renderer/scheduler/task_queue_manager.cc

Issue 959713002: [content]: Don't use task's from_here when posting delayed EnqueueTask on Task Queue Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add single thread idle task runner. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/scheduler/single_thread_idle_task_runner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/scheduler/task_queue_manager.cc
diff --git a/content/renderer/scheduler/task_queue_manager.cc b/content/renderer/scheduler/task_queue_manager.cc
index d66a9306e26246b781f6fe3e6b324e70f7392c4f..509fb9b655712bbea120e68761303cf524efd14f 100644
--- a/content/renderer/scheduler/task_queue_manager.cc
+++ b/content/renderer/scheduler/task_queue_manager.cc
@@ -137,7 +137,7 @@ bool TaskQueue::PostDelayedTaskImpl(const tracked_objects::Location& from_here,
pending_task.delayed_run_time = task_queue_manager_->Now() + delay;
delayed_task_run_times_.push(pending_task.delayed_run_time);
return task_queue_manager_->PostDelayedTask(
- from_here, Bind(&TaskQueue::EnqueueTask, this, pending_task), delay);
+ FROM_HERE, Bind(&TaskQueue::EnqueueTask, this, pending_task), delay);
}
EnqueueTaskLocked(pending_task);
return true;
« no previous file with comments | « content/renderer/scheduler/single_thread_idle_task_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698