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

Unified Diff: cc/test/scheduler_test_common.cc

Issue 1840223002: cc: Remove BeginFrameSource::Create methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test BFS and mus too Created 4 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
« no previous file with comments | « cc/test/scheduler_test_common.h ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/scheduler_test_common.cc
diff --git a/cc/test/scheduler_test_common.cc b/cc/test/scheduler_test_common.cc
index 1c4ddc7b3b0b1d1f8b598d04b93ed4530008d285..f5033532869905d723f0d8cb6249d8e9b0b02645 100644
--- a/cc/test/scheduler_test_common.cc
+++ b/cc/test/scheduler_test_common.cc
@@ -61,8 +61,13 @@ base::TimeTicks TestBackToBackBeginFrameSource::Now() {
}
TestSyntheticBeginFrameSource::TestSyntheticBeginFrameSource(
- scoped_ptr<DelayBasedTimeSource> time_source)
- : SyntheticBeginFrameSource(std::move(time_source)) {}
+ base::SimpleTestTickClock* now_src,
+ OrderedSimpleTaskRunner* task_runner,
+ base::TimeDelta initial_interval)
+ : SyntheticBeginFrameSource(
+ TestDelayBasedTimeSource::Create(now_src,
+ initial_interval,
+ task_runner)) {}
TestSyntheticBeginFrameSource::~TestSyntheticBeginFrameSource() {
}
« no previous file with comments | « cc/test/scheduler_test_common.h ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698