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

Unified Diff: cc/scheduler/time_source.h

Issue 267783004: Refactoring the way begin frame sources inside scheduler work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Scheduler tests now pass and the code is cleaner. Created 6 years, 7 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 | « cc/scheduler/scheduler_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/time_source.h
diff --git a/cc/scheduler/time_source.h b/cc/scheduler/time_source.h
index 3b8d048886511c9b5b0232035183950df2d31375..ba2fce071858018d4d825e95c486d23146b0f619 100644
--- a/cc/scheduler/time_source.h
+++ b/cc/scheduler/time_source.h
@@ -36,8 +36,8 @@ class CC_EXPORT TimeSource : public base::RefCounted<TimeSource> {
virtual bool Active() const = 0;
virtual void SetTimebaseAndInterval(base::TimeTicks timebase,
base::TimeDelta interval) = 0;
- virtual base::TimeTicks LastTickTime() = 0;
- virtual base::TimeTicks NextTickTime() = 0;
+ virtual base::TimeTicks LastTickTime() const = 0;
+ virtual base::TimeTicks NextTickTime() const = 0;
protected:
virtual ~TimeSource() {}
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698