Chromium Code Reviews| Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc |
| index d687adcdfdc0e1d442d42b67f3f3f9a4c9ed242b..13f2ab20608a84d262422262454aa9f729cc3efb 100644 |
| --- a/content/renderer/renderer_webkitplatformsupport_impl.cc |
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc |
| @@ -18,6 +18,7 @@ |
| #include "content/common/view_messages.h" |
| #include "content/common/webblobregistry_impl.h" |
| #include "content/common/webmessageportchannel_impl.h" |
| +#include "content/common/worker_task_runner.h" |
| #include "content/public/common/content_switches.h" |
| #include "content/public/renderer/content_renderer_client.h" |
| #include "content/renderer/gamepad_shared_memory_reader.h" |
| @@ -642,3 +643,17 @@ void RendererWebKitPlatformSupportImpl::GetPlugins( |
| RenderThreadImpl::current()->Send( |
| new ViewHostMsg_GetPlugins(refresh, plugins)); |
| } |
| + |
| +void RendererWebKitPlatformSupportImpl::didStartWorkerRunLoop( |
| + const WebKit::WebWorkerRunLoop& runLoop) { |
| + DCHECK(ChildThread::current()); |
|
michaeln
2011/12/08 03:10:47
does the dcheck still apply?
dgrogan
2011/12/09 03:20:41
Nope, deleted.
|
| + WorkerTaskRunner* worker_tracker = WorkerTaskRunner::Instance(); |
|
darin (slow to review)
2011/12/08 22:41:21
why is the variable called worker_tracker when the
dgrogan
2011/12/09 03:20:41
In an old revision the class was called WorkerTrac
|
| + worker_tracker->OnWorkerRunLoopStarted(runLoop); |
| +} |
| + |
| +void RendererWebKitPlatformSupportImpl::didStopWorkerRunLoop( |
| + const WebKit::WebWorkerRunLoop& runLoop) { |
| + DCHECK(ChildThread::current()); |
| + WorkerTaskRunner* worker_tracker = WorkerTaskRunner::Instance(); |
| + worker_tracker->OnWorkerRunLoopStopped(runLoop); |
| +} |