Fix premature access on m_fifo in AudioDestination.
In the AudioDestination construction process, WebAudioDevice can start the thread even before m_fifo is ready. This may result a crash when render() method is called by AudioDeviceThread. This CL implements a speculative fix of the incorrect order of initialization. BUG=692423 TEST=(none) Review-Url: https://codereview.chromium.org/2740103005 Cr-Commit-Position: refs/heads/master@{#456204}
Showing
Please register or sign in to comment