Index: third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h |
diff --git a/third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h b/third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h |
index 953c5c50412d24684d9d63b390cc4256345f6593..2635a5d31edb8cfc57ea2ac0451d7cb5bbc3b6f3 100644 |
--- a/third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h |
+++ b/third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_worker_scheduler.h |
@@ -49,6 +49,10 @@ class BLINK_PLATFORM_EXPORT WebThreadImplForWorkerScheduler |
// base::MessageLoop::DestructionObserver implementation. |
void WillDestroyCurrentMessageLoop() override; |
+ scheduler::WorkerScheduler* getWorkerScheduler() { |
+ return worker_scheduler_.get(); |
+ } |
+ |
protected: |
base::Thread* thread() const { return thread_.get(); } |