Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
index d8073ce6820eb03df3cf11ed57c38d7ba89f70cf..c18c39fe24f93622abf5ce6102ceb8d97d95872f 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h |
@@ -106,8 +106,8 @@ class OfflineAudioDestinationHandler final : public AudioDestinationHandler { |
// This AudioHandler renders into this AudioBuffer. |
// This Persistent doesn't make a reference cycle including the owner |
- // OfflineAudioDestinationNode. |
- Persistent<AudioBuffer> m_renderTarget; |
+ // OfflineAudioDestinationNode. It is accessed by both audio and main thread. |
+ CrossThreadPersistent<AudioBuffer> m_renderTarget; |
// Temporary AudioBus for each render quantum. |
RefPtr<AudioBus> m_renderBus; |