Index: third_party/WebKit/Source/modules/webaudio/PannerNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/PannerNode.h b/third_party/WebKit/Source/modules/webaudio/PannerNode.h |
index 8d90c8a960e243d6c7bd6b506410899e085efe10..7e2a1f90ea2bf8a20ef9ef4023bb750d541782ef 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/PannerNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/PannerNode.h |
@@ -158,8 +158,8 @@ class PannerHandler final : public AudioHandler { |
void updateDirtyState(); |
// This Persistent doesn't make a reference cycle including the owner |
- // PannerNode. |
- Persistent<AudioListener> m_listener; |
+ // PannerNode. It is accessed by both audio and main thread. |
+ CrossThreadPersistent<AudioListener> m_listener; |
std::unique_ptr<Panner> m_panner; |
unsigned m_panningModel; |
unsigned m_distanceModel; |