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

Unified Diff: cc/test/scheduler_test_common.h

Issue 845393002: cc: Create ProxyBeginFrameSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 11 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 93cff9b47b8a0fe4de8ab89a5d5331965808cd8e..2546c922ea97181c024b3b6782fe62d08abd17f2 100644
--- a/cc/test/scheduler_test_common.h
+++ b/cc/test/scheduler_test_common.h
@@ -165,7 +165,8 @@ class TestScheduler : public Scheduler {
int layer_tree_host_id,
const scoped_refptr<OrderedSimpleTaskRunner>& task_runner,
base::PowerMonitor* power_monitor,
- scoped_ptr<BeginFrameSource> external_begin_frame_source) {
+ scoped_ptr<BeginFrameSource> external_begin_frame_source,
+ ProxyBeginFrameSource* proxy_begin_frame_source) {
TestSchedulerFrameSourcesConstructor frame_sources_constructor(
task_runner.get(), now_src.get());
return make_scoped_ptr(new TestScheduler(
@@ -176,7 +177,8 @@ class TestScheduler : public Scheduler {
task_runner,
power_monitor,
&frame_sources_constructor,
- external_begin_frame_source.Pass()));
+ external_begin_frame_source.Pass(),
+ proxy_begin_frame_source));
}
// Extra test helper functionality
@@ -211,7 +213,8 @@ class TestScheduler : public Scheduler {
const scoped_refptr<OrderedSimpleTaskRunner>& test_task_runner,
base::PowerMonitor* power_monitor,
TestSchedulerFrameSourcesConstructor* frame_sources_constructor,
- scoped_ptr<BeginFrameSource> external_begin_frame_source);
+ scoped_ptr<BeginFrameSource> external_begin_frame_source,
+ ProxyBeginFrameSource* proxy_begin_frame_source);
scoped_refptr<TestNowSource> now_src_;
};

Powered by Google App Engine
This is Rietveld 408576698