workers: Use base::TaskRunner to run tasks on worker threads.
commit344a6b0227de88bb5c4016431c64cd0e1ca3e1e8
authorSadrul Habib Chowdhury <sadrul@chromium.org>
Wed, 11 Feb 2015 20:43:41 +0000 (11 15:43 -0500)
committerSadrul Habib Chowdhury <sadrul@chromium.org>
Wed, 11 Feb 2015 20:45:41 +0000 (11 20:45 +0000)
tree14f89378641aba79c372f038557eb97f00030788
parentf951166bde5650de692d30c542e320a1e6c0e75a
workers: Use base::TaskRunner to run tasks on worker threads.

Use the worker thread's TaskRunner to post-task to the worker threads,
instead of using WorkerThreadTaskRunner, which adds an extra level of
indirection for posting tasks without any benefits. This is the last place
WorkerThreadTaskRunner was being used. So remove it.

BUG=457033
R=kinuko@chromium.org, nasko@chromium.org

Review URL: https://codereview.chromium.org/903363002

Cr-Commit-Position: refs/heads/master@{#315829}
content/child/bluetooth/bluetooth_dispatcher.cc
content/child/geofencing/geofencing_dispatcher.cc
content/child/worker_task_runner.cc
content/child/worker_task_runner.h
content/child/worker_task_runner_unittest.cc
content/child/worker_thread_message_filter.cc
content/child/worker_thread_task_runner.cc [deleted file]
content/child/worker_thread_task_runner.h [deleted file]
content/content_child.gypi