Index: content/child/scheduler/worker_scheduler_impl.h |
diff --git a/content/child/scheduler/worker_scheduler_impl.h b/content/child/scheduler/worker_scheduler_impl.h |
index 043476dbf627f7356299964e0ac12d26cb025fb6..6ab1b2afc0b6a3157ecdf114c698ed8659da8847 100644 |
--- a/content/child/scheduler/worker_scheduler_impl.h |
+++ b/content/child/scheduler/worker_scheduler_impl.h |
@@ -17,6 +17,7 @@ class ConvertableToTraceFormat; |
namespace content { |
class NestableSingleThreadTaskRunner; |
+class TimeSource; |
class CONTENT_EXPORT WorkerSchedulerImpl |
: public WorkerScheduler, |
@@ -37,7 +38,7 @@ class CONTENT_EXPORT WorkerSchedulerImpl |
void Init() override; |
void Shutdown() override; |
- void SetTimeSourceForTesting(scoped_refptr<cc::TestNowSource> time_source); |
+ void SetTimeSourceForTesting(scoped_ptr<TimeSource> time_source); |
void SetWorkBatchSizeForTesting(size_t work_batch_size); |
base::TimeTicks CurrentIdleTaskDeadlineForTesting() const; |