Commit badc7fbe authored by Hajime Hoshi's avatar Hajime Hoshi Committed by Commit Bot

Pass approprite task runners to InterfacePtr::Bind via GpuVideoAcceleratorFactoriesImpl

This is part of efforts to replace base::ThreadTaskRunnerHandle::Get()
and SequencedTaskRunnerHandle::Get() with other appropriate task runners
in the renderer.

Bug: 786332
Change-Id: Idf6f5dd37a0c6d510a17a6f4c5546a86d9c07333
Reviewed-on: https://chromium-review.googlesource.com/983155Reviewed-by: default avatarAlexander Timin <altimin@chromium.org>
Reviewed-by: default avatarDan Sanders <sandersd@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550069}
parent 6b5790d2
......@@ -375,7 +375,7 @@ void GpuVideoAcceleratorFactoriesImpl::
unbound_vea_provider) {
DCHECK(task_runner_->BelongsToCurrentThread());
DCHECK(!vea_provider_.is_bound());
vea_provider_.Bind(std::move(unbound_vea_provider));
vea_provider_.Bind(std::move(unbound_vea_provider), task_runner_);
}
void GpuVideoAcceleratorFactoriesImpl::ReleaseContextProvider() {
......
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