From 3dc0c77486b217a40c817e4942a11dfd48651533 Mon Sep 17 00:00:00 2001 From: "brianderson@chromium.org" Date: Sat, 26 Apr 2014 10:06:05 +0000 Subject: cc: Move scheduling logic out of OutputSurface This moves the vsync throttling enabled/disabled logic and the synthetic/emulated BeginFrame logic out of OutputSurface and moves it to the Scheduler. This then allows us to also remove the retroactive BeginFrame logic from OutputSurface since the Scheduler also has retroactive BeginFrame logic. BUG=246861 BUG=251909 Review URL: https://codereview.chromium.org/221833009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266348 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/scheduler_test_common.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'cc/test/scheduler_test_common.h') diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h index 071332d..596358a 100644 --- a/cc/test/scheduler_test_common.h +++ b/cc/test/scheduler_test_common.h @@ -9,7 +9,6 @@ #include "base/memory/scoped_ptr.h" #include "base/time/time.h" #include "cc/scheduler/delay_based_time_source.h" -#include "cc/scheduler/frame_rate_controller.h" #include "testing/gtest/include/gtest/gtest.h" namespace cc { @@ -47,12 +46,6 @@ class FakeDelayBasedTimeSource : public DelayBasedTimeSource { base::TimeTicks now_; }; -class FakeFrameRateController : public FrameRateController { - public: - explicit FakeFrameRateController(scoped_refptr timer) - : FrameRateController(timer) {} -}; - } // namespace cc #endif // CC_TEST_SCHEDULER_TEST_COMMON_H_ -- cgit v1.1