| Index: cc/test/scheduler_test_common.h
|
| diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h
|
| index 2cb878acf5f66642da5ed34eadce0056968242a5..9783a20f7e961c7d0f6c20aee95a7fbddfcaf6ce 100644
|
| --- a/cc/test/scheduler_test_common.h
|
| +++ b/cc/test/scheduler_test_common.h
|
| @@ -161,7 +161,8 @@ class TestScheduler : public Scheduler {
|
| scoped_refptr<TestNowSource> now_src,
|
| SchedulerClient* client,
|
| const SchedulerSettings& scheduler_settings,
|
| - int layer_tree_host_id) {
|
| + int layer_tree_host_id,
|
| + base::PowerMonitor* power_monitor) {
|
| // A bunch of tests require Now() to be > BeginFrameArgs::DefaultInterval()
|
| now_src->AdvanceNow(base::TimeDelta::FromMilliseconds(100));
|
|
|
| @@ -174,7 +175,8 @@ class TestScheduler : public Scheduler {
|
| scheduler_settings,
|
| layer_tree_host_id,
|
| test_task_runner,
|
| - &frame_sources_constructor));
|
| + &frame_sources_constructor,
|
| + power_monitor));
|
| }
|
|
|
| // Extra test helper functionality
|
| @@ -198,7 +200,8 @@ class TestScheduler : public Scheduler {
|
| const SchedulerSettings& scheduler_settings,
|
| int layer_tree_host_id,
|
| const scoped_refptr<OrderedSimpleTaskRunner>& test_task_runner,
|
| - TestSchedulerFrameSourcesConstructor* frame_sources_constructor);
|
| + TestSchedulerFrameSourcesConstructor* frame_sources_constructor,
|
| + base::PowerMonitor* power_monitor);
|
|
|
| scoped_refptr<TestNowSource> now_src_;
|
| OrderedSimpleTaskRunner* test_task_runner_;
|
|
|