webcrypto: Get task-runner for worker-thread from base::ThreadTaskRunnerHandle
commit3a4b2d1ad07c4e79ab2923d6a571846d64f9f1f1
authorSadrul Habib Chowdhury <sadrul@chromium.org>
Wed, 4 Feb 2015 01:10:42 +0000 (3 20:10 -0500)
committerSadrul Habib Chowdhury <sadrul@chromium.org>
Wed, 4 Feb 2015 01:12:33 +0000 (4 01:12 +0000)
tree4801e968c8a8c9ec2f3a1c4d8e1d050d61b2f0a6
parent220483d0c533c2fa938fd5b150ab03ff77b195a7
webcrypto: Get task-runner for worker-thread from base::ThreadTaskRunnerHandle

Both main-thread and worker-threads have their own message-loops. So use
base::ThreadTaskRunnerHandle::Get() to get the task-runner in both main and
worker threads.

BUG=none
R=eroman@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#314457}
content/child/webcrypto/webcrypto_impl.cc