Index: webkit/glue/webkitplatformsupport_impl.cc |
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc |
index fd3759a3416f29d0304fe4d28b828b0d94909a46..e8ddd15571770590410682f82f25cc4485c4ace6 100644 |
--- a/webkit/glue/webkitplatformsupport_impl.cc |
+++ b/webkit/glue/webkitplatformsupport_impl.cc |
@@ -41,6 +41,7 @@ |
#include "webkit/glue/websocketstreamhandle_impl.h" |
#include "webkit/glue/webthread_impl.h" |
#include "webkit/glue/weburlloader_impl.h" |
+#include "webkit/glue/worker_task_runner.h" |
#include "webkit/media/audio_decoder.h" |
#include "webkit/plugins/npapi/plugin_instance.h" |
#include "webkit/plugins/webplugininfo.h" |
@@ -686,4 +687,16 @@ void WebKitPlatformSupportImpl::DestroyCurrentThread(void* thread) { |
delete impl; |
} |
+void WebKitPlatformSupportImpl::didStartWorkerRunLoop( |
+ const WebKit::WebWorkerRunLoop& runLoop) { |
+ WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance(); |
+ worker_task_runner->OnWorkerRunLoopStarted(runLoop); |
+} |
+ |
+void WebKitPlatformSupportImpl::didStopWorkerRunLoop( |
+ const WebKit::WebWorkerRunLoop& runLoop) { |
+ WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance(); |
+ worker_task_runner->OnWorkerRunLoopStopped(runLoop); |
+} |
+ |
} // namespace webkit_glue |