[scheduler] Migrating call sites of postOnUiThread where possible.

As part of the ongoing process of unifying Java and C++ scheduling, I am
migrating the callers of ThreadUtils.postOnUiThread to PostTask.postTask,
if they are allowed to import content_utils.

Bug: 863341
Change-Id: Ib925425ee5bd9a179aa775829f2d4f6d08fa32e0
Reviewed-on: https://chromium-review.googlesource.com/c/1432841
Commit-Queue: Karolina Soltys <ksolt@chromium.org>
Auto-Submit: Karolina Soltys <ksolt@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#628061}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 22a4104e8e25c3bec1a47f3ae7ec7e0ae9d40aef
3 files changed
tree: 33ea2e82865ee631311aff615197e6ef9b6a2507
  1. java/
  2. BUILD.gn
  3. generate_resource_rewriter.gni
  4. glue.gni