Index: third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc |
diff --git a/third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc b/third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc |
index 8095527a3133227d1e60c8884926f07849fc65dc..7236771ff28a86b5ceb1629f0f295aff83805221 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc |
+++ b/third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc |
@@ -13,6 +13,7 @@ |
#include "base/pending_task.h" |
#include "base/threading/platform_thread.h" |
#include "platform/scheduler/child/compositor_worker_scheduler.h" |
+#include "platform/scheduler/child/scheduler_tqm_delegate_impl.h" |
#include "platform/scheduler/child/webthread_impl_for_worker_scheduler.h" |
#include "platform/scheduler/utility/webthread_impl_for_utility_thread.h" |
#include "public/platform/WebTraceLocation.h" |
@@ -117,7 +118,8 @@ class WebThreadForCompositor : public WebThreadImplForWorkerScheduler { |
// WebThreadImplForWorkerScheduler: |
std::unique_ptr<blink::scheduler::WorkerScheduler> CreateWorkerScheduler() |
override { |
- return base::MakeUnique<CompositorWorkerScheduler>(GetThread()); |
+ return base::MakeUnique<CompositorWorkerScheduler>(GetThread(), |
+ task_runner_delegate()); |
} |
DISALLOW_COPY_AND_ASSIGN(WebThreadForCompositor); |