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

Unified Diff: third_party/WebKit/Source/platform/WebFrameScheduler.h

Issue 2810423003: Schedule bitmap animation timers on the compositor task runner. (Closed)
Patch Set: fix up comment about a method changed by blink reformat Created 3 years, 8 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
Index: third_party/WebKit/Source/platform/WebFrameScheduler.h
diff --git a/third_party/WebKit/Source/platform/WebFrameScheduler.h b/third_party/WebKit/Source/platform/WebFrameScheduler.h
index f1ea4505332ce61291aa6c0abb5be50199cd01e6..2f490a8ee5ba7980535134291eb4cc1c2f511453 100644
--- a/third_party/WebKit/Source/platform/WebFrameScheduler.h
+++ b/third_party/WebKit/Source/platform/WebFrameScheduler.h
@@ -51,6 +51,10 @@ class WebFrameScheduler {
// WebFrameScheduler owns the returned WebTaskRunner.
virtual RefPtr<WebTaskRunner> TimerTaskRunner() = 0;
+ // Returns the WebTaskRunner for compositor tasks.
+ // WebFrameScheduler owns the returned WebTaskRunner.
Sami 2017/04/27 17:38:17 Hmm, this comment about ownership doesn't make sen
Dan Elphick 2017/05/03 09:41:06 no longer required
+ virtual RefPtr<WebTaskRunner> CompositorTaskRunner() = 0;
+
// Returns the WebTaskRunner for tasks which shouldn't get throttled,
// but can be suspended.
// TODO(altimin): This is a transitional task runner. Unthrottled task runner

Powered by Google App Engine
This is Rietveld 408576698