Commit 262e5e79 authored by Hajime Hoshi's avatar Hajime Hoshi Committed by Commit Bot

Use per-frame task runner at GpuBenchmarking::input_injector_

V8 should not be executed on per-thread task runner. Use per-frame (per-
execution-context) task runner instead.

Bug: 870606
Change-Id: Ibaf9e02bb33eacbf0f29b2bb30645ad8d7a19121
Reviewed-on: https://chromium-review.googlesource.com/c/1331291Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607487}
parent 9f872a03
......@@ -528,8 +528,9 @@ GpuBenchmarking::~GpuBenchmarking() {
void GpuBenchmarking::EnsureRemoteInterface() {
if (!input_injector_) {
render_frame_->GetRemoteInterfaces()->GetInterface(
mojo::MakeRequest(&input_injector_));
render_frame_->GetRemoteInterfaces()->GetInterface(mojo::MakeRequest(
&input_injector_,
render_frame_->GetTaskRunner(blink::TaskType::kInternalDefault)));
}
}
......
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