diff options
author | brianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-26 10:06:05 +0000 |
---|---|---|
committer | brianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-26 10:06:05 +0000 |
commit | 3dc0c77486b217a40c817e4942a11dfd48651533 (patch) | |
tree | 6c12d3d3f59cb6bf8e5ec841307b32c1c826d444 /cc/test/scheduler_test_common.h | |
parent | b5556b29fb292017f98224b4dc8894bd16bc7272 (diff) | |
download | chromium_src-3dc0c77486b217a40c817e4942a11dfd48651533.zip chromium_src-3dc0c77486b217a40c817e4942a11dfd48651533.tar.gz chromium_src-3dc0c77486b217a40c817e4942a11dfd48651533.tar.bz2 |
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
Diffstat (limited to 'cc/test/scheduler_test_common.h')
-rw-r--r-- | cc/test/scheduler_test_common.h | 7 |
1 files changed, 0 insertions, 7 deletions
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<TimeSource> timer) - : FrameRateController(timer) {} -}; - } // namespace cc #endif // CC_TEST_SCHEDULER_TEST_COMMON_H_ |