Index: components/scheduler/renderer/webthread_impl_for_renderer_scheduler.cc |
diff --git a/components/scheduler/renderer/webthread_impl_for_renderer_scheduler.cc b/components/scheduler/renderer/webthread_impl_for_renderer_scheduler.cc |
index f59e714cce3096c17712eaa7d037a0da0eb8e468..cc979f4017e6bf7da640e9b7a3bc130c641d6662 100644 |
--- a/components/scheduler/renderer/webthread_impl_for_renderer_scheduler.cc |
+++ b/components/scheduler/renderer/webthread_impl_for_renderer_scheduler.cc |
@@ -46,6 +46,15 @@ blink::WebTaskRunner* WebThreadImplForRendererScheduler::taskRunner() { |
return web_task_runner_.get(); |
} |
+double WebThreadImplForRendererScheduler::virtualTimeSeconds() { |
+ return scheduler_->VirtualTimeSeconds(); |
+} |
+ |
+double |
+WebThreadImplForRendererScheduler::monotonicallyIncreasingVirtualTimeSeconds() { |
+ return scheduler_->MonotonicallyIncreasingVirtualTimeSeconds(); |
+} |
+ |
void WebThreadImplForRendererScheduler::AddTaskObserverInternal( |
base::MessageLoop::TaskObserver* observer) { |
scheduler_->AddTaskObserver(observer); |