Fix pepper audio input.
The migration in https://crrev.com/5075457e9b changed the task runner that |main_task_runner_| was bound to. This in turn caused the check base::ThreadTaskRunnerHandle::Get().get() != main_task_runner_ to always return true, meaning stream events were never processed. Modifying this to check main_task_runner_->BelongsToCurrentThread() fixes the infinite dispatch issue. BUG=1150822 Change-Id: Ia5699d94424ff56a6ce6f0333370c17ff2b786ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559313Reviewed-by:Bill Budge <bbudge@chromium.org> Commit-Queue: Chris Hamilton <chrisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#830861}
Showing
Please register or sign in to comment