Index: third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.h b/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.h |
index a987ff3d6f26ac1f7d30254c058d8bd0e2462079..801a4450869bec05b5f29a7a420f6cb38e2f0a6c 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.h |
@@ -58,7 +58,8 @@ class MediaStreamAudioDestinationHandler final |
// This Persistent doesn't make a reference cycle. |
Persistent<MediaStream> m_stream; |
- Persistent<MediaStreamSource> m_source; |
+ // Accessed by main thread and during audio thread processing. |
+ CrossThreadPersistent<MediaStreamSource> m_source; |
haraken
2017/02/20 23:57:18
Ditto.
|
// This synchronizes dynamic changes to the channel count with |
// process() to manage the mix bus. |