Index: components/scheduler/renderer/throttling_helper.h |
diff --git a/components/scheduler/renderer/throttling_helper.h b/components/scheduler/renderer/throttling_helper.h |
index d5eebf57fd39eb19dda53ec1cedd80b2b0036daf..d41ab6502889b6ad32fd6fa863f5ae8e2fdbe67b 100644 |
--- a/components/scheduler/renderer/throttling_helper.h |
+++ b/components/scheduler/renderer/throttling_helper.h |
@@ -16,7 +16,7 @@ |
namespace scheduler { |
class RendererSchedulerImpl; |
-class VirtualTimeDomain; |
+class ThrottledTimeDomain; |
class WebFrameSchedulerImpl; |
class SCHEDULER_EXPORT ThrottlingHelper : public TimeDomain::Observer { |
@@ -42,7 +42,7 @@ class SCHEDULER_EXPORT ThrottlingHelper : public TimeDomain::Observer { |
// Removes |task_queue| from |throttled_queues_|. |
void UnregisterTaskQueue(TaskQueue* task_queue); |
- const VirtualTimeDomain* time_domain() const { return time_domain_.get(); } |
+ const ThrottledTimeDomain* time_domain() const { return time_domain_.get(); } |
static base::TimeTicks ThrottledRunTime(base::TimeTicks unthrottled_runtime); |
@@ -67,7 +67,7 @@ class SCHEDULER_EXPORT ThrottlingHelper : public TimeDomain::Observer { |
RendererSchedulerImpl* renderer_scheduler_; // NOT OWNED |
base::TickClock* tick_clock_; // NOT OWNED |
const char* tracing_category_; // NOT OWNED |
- scoped_ptr<VirtualTimeDomain> time_domain_; |
+ scoped_ptr<ThrottledTimeDomain> time_domain_; |
CancelableClosureHolder suspend_timers_when_backgrounded_closure_; |
base::TimeTicks pending_pump_throttled_tasks_runtime_; |