Chromium Code Reviews
DescriptionCleanup AudioDeviceThread to avoid accidental misuse.
The code as written returned the current task runner whenever
AudioDeviceThread::GetTaskRunner() was called, when actually
what we want is for it to always be bound to the constructed
thread.
This isn't an issue given that we didn't expose AudioDeviceThread
outside of BrowserMainLoop, but this prevents any future misuse
and cleans up some style issues.
Note: This also renames AudioDeviceThread to AudioManagerThread
since we already have an AudioDeviceThread in the renderer.
BUG=656923
TEST=none
Committed: https://crrev.com/d8cd11c786e0173afcc7031d85aa3cec75376b6c
Cr-Commit-Position: refs/heads/master@{#438301}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Grammar. #Patch Set 3 : Rename to AudioManagerThread. Fix tests. #Messages
Total messages: 20 (10 generated)
|