Index: Source/modules/webaudio/AudioNode.h |
diff --git a/Source/modules/webaudio/AudioNode.h b/Source/modules/webaudio/AudioNode.h |
index c055ba833158ccb6c3d0eedd0cfbb0e614191928..1a7d57a70d0d0b146566622e74a0178a67bde359 100644 |
--- a/Source/modules/webaudio/AudioNode.h |
+++ b/Source/modules/webaudio/AudioNode.h |
@@ -107,7 +107,7 @@ |
// nullptr otherwise. This always returns a valid object in an audio |
// rendering thread, and inside dispose(). We must not call context() in |
// the destructor. |
- virtual AbstractAudioContext* context() const; |
+ AbstractAudioContext* context() const; |
void clearContext() { m_context = nullptr; } |
enum ChannelCountMode { |
@@ -229,23 +229,23 @@ |
// Force all inputs to take any channel interpretation changes into account. |
void updateChannelsForInputs(); |
+private: |
+ void setNodeType(NodeType); |
+ |
+ volatile bool m_isInitialized; |
+ NodeType m_nodeType; |
+ |
+ // The owner AudioNode. This raw pointer is safe because dispose() is |
+ // called before the AudioNode death, and it clears m_node. Do not access |
+ // m_node directly, use node() instead. |
+ GC_PLUGIN_IGNORE("http://crbug.com/404527") |
+ AudioNode* m_node; |
+ |
// This raw pointer is safe because this is cleared for all of live |
// AudioHandlers when the AbstractAudioContext dies. Do not access m_context |
// directly, use context() instead. |
GC_PLUGIN_IGNORE("http://crbug.com/404527") |
AbstractAudioContext* m_context; |
- |
-private: |
- void setNodeType(NodeType); |
- |
- volatile bool m_isInitialized; |
- NodeType m_nodeType; |
- |
- // The owner AudioNode. This raw pointer is safe because dispose() is |
- // called before the AudioNode death, and it clears m_node. Do not access |
- // m_node directly, use node() instead. |
- GC_PLUGIN_IGNORE("http://crbug.com/404527") |
- AudioNode* m_node; |
float m_sampleRate; |
Vector<OwnPtr<AudioNodeInput>> m_inputs; |