Chromium Code Reviews
DescriptionData race fix: Replace use of MessageLoop raw pointer in MSAudioProcessor.
This change replaces the use of a raw pointer to the main thread's
MessageLoop, by content::MediaStreamAudioProcessor, with a
scoped_refptr to the main thread's task runner. This fixes a
TSan-reported shutdown data race which was caused by the MessageLoop
releasing its task runner at the same time the audio thread was using
the MessageLoop::task_runner() accessor method.
BUG=647178
Committed: https://crrev.com/a4717b9caba5b1fb1e4455af8932a3a870a9aecf
Cr-Commit-Position: refs/heads/master@{#426318}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix unit tests: They all need a MessageLoop instantiated. #
Messages
Total messages: 14 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||