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

Unified Diff: cc/test/scheduler_test_common.h

Issue 199523002: cc: Throttle swaps in Scheduler instead of OutputSurface (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: WIP: pulling FRC out of OS Created 6 years, 9 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: cc/test/scheduler_test_common.h
diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h
index 46e6012d306afc1a89246b411f2e13535fae5379..828ba2f27edacc8d7cd7d9e6d3e7ed39f57a8eda 100644
--- a/cc/test/scheduler_test_common.h
+++ b/cc/test/scheduler_test_common.h
@@ -47,12 +47,10 @@ class FakeDelayBasedTimeSource : public DelayBasedTimeSource {
base::TimeTicks now_;
};
-class FakeFrameRateController : public FrameRateController {
+class FakeBeginFrameSource : public BeginFrameSource {
public:
- explicit FakeFrameRateController(scoped_refptr<TimeSource> timer)
- : FrameRateController(timer) {}
-
- int NumFramesPending() const { return num_frames_pending_; }
+ explicit FakeBeginFrameSource(scoped_refptr<TimeSource> timer)
+ : BeginFrameSource(timer) {}
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698