Commit fa7e0f5f authored by Alexander Timin's avatar Alexander Timin Committed by Commit Bot

[scheduler] Do not use kInternalIPC in android_webview.

Remove kInternalIPC task type.
- If it's used to bind associated interface, use
  kInternalNavigationAssociated instead.
- If it's used to bind non-associated interface, use the task source
  mentioned in the spec or kInternalDefault if it's not speced.

R=tobiasjs@chromium.org

Change-Id: I0f1ac37df2afda909b8fe018192197cce64a0e01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906212Reviewed-by: default avatarTobias Sargeant <tobiasjs@chromium.org>
Commit-Queue: Alexander Timin <altimin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714015}
parent c542d99d
......@@ -83,7 +83,8 @@ void JsJavaConfigurator::BindPendingReceiver(
mojo::PendingAssociatedReceiver<mojom::JsJavaConfigurator>
pending_receiver) {
receiver_.Bind(std::move(pending_receiver),
render_frame()->GetTaskRunner(blink::TaskType::kInternalIPC));
render_frame()->GetTaskRunner(
blink::TaskType::kInternalNavigationAssociated));
}
mojom::JsToJavaMessaging* JsJavaConfigurator::GetJsToJavaMessage(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment