Chromium Code Reviews| Index: content/child/blink_platform_impl.cc |
| diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
| index ffea5f9f7bde53e696c9a04c8c913286d074d3a8..e64e186cf526aeb099fe23119b2ab5e4145a02e9 100644 |
| --- a/content/child/blink_platform_impl.cc |
| +++ b/content/child/blink_platform_impl.cc |
| @@ -1040,14 +1040,22 @@ blink::WebGestureCurve* BlinkPlatformImpl::createFlingAnimationCurve( |
| void BlinkPlatformImpl::didStartWorkerRunLoop( |
|
kinuko
2015/02/26 03:28:03
nit: would be nice to have a TODO comment that thi
sadrul
2015/02/26 05:00:22
Done.
|
| const blink::WebWorkerRunLoop& runLoop) { |
| - WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance(); |
| - worker_task_runner->OnWorkerRunLoopStarted(runLoop); |
| + didStartWorkerRunLoop(); |
| } |
| void BlinkPlatformImpl::didStopWorkerRunLoop( |
| const blink::WebWorkerRunLoop& runLoop) { |
|
kinuko
2015/02/26 03:28:03
ditto
sadrul
2015/02/26 05:00:22
Done.
|
| + didStopWorkerRunLoop(); |
| +} |
| + |
| +void BlinkPlatformImpl::didStartWorkerRunLoop() { |
| + WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance(); |
| + worker_task_runner->OnWorkerRunLoopStarted(); |
| +} |
| + |
| +void BlinkPlatformImpl::didStopWorkerRunLoop() { |
| WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance(); |
| - worker_task_runner->OnWorkerRunLoopStopped(runLoop); |
| + worker_task_runner->OnWorkerRunLoopStopped(); |
| } |
| blink::WebCrypto* BlinkPlatformImpl::crypto() { |