diff options
author | alexclarke <alexclarke@chromium.org> | 2015-11-27 02:08:42 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-27 10:09:37 +0000 |
commit | ec5adec0a9879a31866e98c65ddc7b506b9f49c3 (patch) | |
tree | 349ebd7c25c796c03a562467553caf22c2e17724 /components/scheduler/child/web_scheduler_impl.h | |
parent | 73be357897b5496f6bfa8d5ddefbccfca24b7c62 (diff) | |
download | chromium_src-ec5adec0a9879a31866e98c65ddc7b506b9f49c3.zip chromium_src-ec5adec0a9879a31866e98c65ddc7b506b9f49c3.tar.gz chromium_src-ec5adec0a9879a31866e98c65ddc7b506b9f49c3.tar.bz2 |
Move throttling of background timers into the renderer scheduler
Not only does this simplify the code, it's more efficent since
previously setting the timer alignment resulted in mass cancellation
and reposting of timers.
BUG=510398, 546953, 560402
Review URL: https://codereview.chromium.org/1441073006
Cr-Commit-Position: refs/heads/master@{#361971}
Diffstat (limited to 'components/scheduler/child/web_scheduler_impl.h')
-rw-r--r-- | components/scheduler/child/web_scheduler_impl.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/scheduler/child/web_scheduler_impl.h b/components/scheduler/child/web_scheduler_impl.h index 84933ac..724491f 100644 --- a/components/scheduler/child/web_scheduler_impl.h +++ b/components/scheduler/child/web_scheduler_impl.h @@ -52,11 +52,6 @@ class SCHEDULER_EXPORT WebSchedulerImpl : public blink::WebScheduler { void removePendingNavigation() override {} void onNavigationStarted() override {} - // TODO(alexclarke): Remove when possible. - void postTimerTaskAt(const blink::WebTraceLocation& location, - blink::WebTaskRunner::Task* task, - double monotonicTime) override; - private: static void runIdleTask(scoped_ptr<blink::WebThread::IdleTask> task, base::TimeTicks deadline); |