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

Unified Diff: components/scheduler/base/task_queue_impl.cc

Issue 1441073006: Move throttling of background timers into the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try again for MSVC Created 5 years, 1 month 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
Index: components/scheduler/base/task_queue_impl.cc
diff --git a/components/scheduler/base/task_queue_impl.cc b/components/scheduler/base/task_queue_impl.cc
index 651770740e8a2f7ba6527c25fd042425b0eba6ea..39289c2332989f877ea474479aa5330987fe1e5c 100644
--- a/components/scheduler/base/task_queue_impl.cc
+++ b/components/scheduler/base/task_queue_impl.cc
@@ -97,18 +97,6 @@ bool TaskQueueImpl::PostNonNestableDelayedTask(
return PostDelayedTaskImpl(from_here, task, delay, TaskType::NON_NESTABLE);
}
-bool TaskQueueImpl::PostDelayedTaskAt(
- const tracked_objects::Location& from_here,
- const base::Closure& task,
- base::TimeTicks desired_run_time) {
- base::AutoLock lock(any_thread_lock_);
- if (!any_thread().task_queue_manager)
- return false;
- LazyNow lazy_now(any_thread().task_queue_manager->delegate().get());
- return PostDelayedTaskLocked(&lazy_now, from_here, task, desired_run_time,
- TaskType::NORMAL);
-}
-
bool TaskQueueImpl::PostDelayedTaskImpl(
const tracked_objects::Location& from_here,
const base::Closure& task,

Powered by Google App Engine
This is Rietveld 408576698