Commit 95bc6dd8 authored by Alexander Timin's avatar Alexander Timin Committed by Commit Bot

[scheduler] Do not use kInternalIPC in modules/sms.

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=ayui@chromium.org

Change-Id: I4ee9b994ba8b5ee91c0239b7c1de2ca16e902a2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888032Reviewed-by: default avatarAyu Ishii <ayui@chromium.org>
Commit-Queue: Alexander Timin <altimin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711345}
parent e2571e3a
......@@ -43,7 +43,7 @@ ScriptPromise SMSReceiver::receive(ScriptState* script_state,
// See https://bit.ly/2S0zRAS for task types.
scoped_refptr<base::SingleThreadTaskRunner> task_runner =
GetExecutionContext()->GetTaskRunner(TaskType::kInternalIPC);
GetExecutionContext()->GetTaskRunner(TaskType::kMiscPlatformAPI);
if (!service_) {
GetExecutionContext()->GetBrowserInterfaceBroker().GetInterface(
......
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