[v8 platform] Use modern v8 worker threads API in gin.

Follow-up to v8 CLs:
 - https://chromium-review.googlesource.com/c/v8/v8/+/941946
 - https://chromium-review.googlesource.com/c/v8/v8/+/941442
 - https://chromium-review.googlesource.com/c/v8/v8/+/941944
 - https://chromium-review.googlesource.com/c/v8/v8/+/1033584
 - https://chromium-review.googlesource.com/c/v8/v8/+/978443

This will make Platform::CallBlockingTaskOnWorkerThread() actually
result in a high-priority task which is expected to help blocking
parallel GC tasks get ahead of other async work.

And allow removal of deprecated "background threads" APIs in
v8::Platform.

Bug: 817421
Change-Id: Idb7f369538c23c9b065d90cc5ed48300a5c9724c
Reviewed-on: https://chromium-review.googlesource.com/957761
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556103}

CrOS-Libchrome-Original-Commit: ca4884b93e197ef8826923bf5197998a408674ac
1 file changed
tree: 633fd82d3334e24343536562d1ce944fd047fc11
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/