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

Unified Diff: cc/scheduler/begin_frame_source.h

Issue 1200113003: cc: Cleanup DelayBasedTimeSource code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@task_runner_refptr
Patch Set: mithro's review Created 5 years, 5 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 | « no previous file | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/begin_frame_source.h
diff --git a/cc/scheduler/begin_frame_source.h b/cc/scheduler/begin_frame_source.h
index 9eb3ea279daf7c6d04b656d06c25b87d65a94b50..f6f1a789da7bb5770d8e4c5ae960de1b60ab14d5 100644
--- a/cc/scheduler/begin_frame_source.h
+++ b/cc/scheduler/begin_frame_source.h
@@ -207,7 +207,7 @@ class CC_EXPORT BackToBackBeginFrameSource : public BeginFrameSourceBase {
// A frame source which is locked to an external parameters provides from a
// vsync source and generates BeginFrameArgs for it.
class CC_EXPORT SyntheticBeginFrameSource : public BeginFrameSourceBase,
- public TimeSourceClient {
+ public DelayBasedTimeSourceClient {
public:
static scoped_ptr<SyntheticBeginFrameSource> Create(
base::SingleThreadTaskRunner* task_runner,
@@ -220,7 +220,7 @@ class CC_EXPORT SyntheticBeginFrameSource : public BeginFrameSourceBase,
// Tracing
void AsValueInto(base::trace_event::TracedValue* dict) const override;
- // TimeSourceClient
+ // DelayBasedTimeSourceClient
void OnTimerTick() override;
protected:
« no previous file with comments | « no previous file | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698