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 |