workers: Map the current thread-id to the WorkerRunLoop.
commit3f8178aebed5980a64b6004eaa9358403c2693d7
authorSadrul Habib Chowdhury <sadrul@chromium.org>
Thu, 29 Jan 2015 20:57:00 +0000 (29 15:57 -0500)
committerSadrul Habib Chowdhury <sadrul@chromium.org>
Thu, 29 Jan 2015 20:59:00 +0000 (29 20:59 +0000)
treefd1ab46f6841cf38462d8b152435b9bdd0e12871
parent97b62a99d561261001b8e4ddd2a5946a6fa743bb
workers: Map the current thread-id to the WorkerRunLoop.

Instead of using an AtomicSequenceNumber to find an ID for a worker runloop,
use the ID of the current thread instead.

BUG=none
R=jochen@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#313786}
content/child/worker_task_runner.cc
content/child/worker_task_runner.h