workers: Change how debugger-tasks are posted to the thread.

debugger-tasks are only posted by WorkerInspectorProxy, and these tasks
are run somewhat differently from other tasks: a separate task runs
WorkerThread::runDebuggerTask, which ends up running the debugger tasks.
This CL keeps this basic mechanism, but moves the work related to this
from WorkerThread into WorkerInspectorProxy (since it is the only user of
debugger tasks).

BUG=486573

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

git-svn-id: svn://svn.chromium.org/blink/trunk@195655 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed
tree: c23d42bb7bfa8d4cd61ba17c1d4d32ae177b5faa
  1. third_party/