Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h |
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h |
| index 2fcd6bd7372d437f6a1581987e3bc98c44e4c6c1..c9ce9d490a0f8a99cc971b2e25d176f8bb69f48b 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h |
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h |
| @@ -30,7 +30,7 @@ |
| #define AudioScheduledSourceNode_h |
| #include "bindings/core/v8/ActiveScriptWrappable.h" |
| -#include "modules/webaudio/AudioSourceNode.h" |
| +#include "modules/webaudio/AudioNode.h" |
| namespace blink { |
| @@ -124,9 +124,10 @@ class AudioScheduledSourceHandler : public AudioHandler { |
| int m_playbackState; |
| }; |
| -class AudioScheduledSourceNode : public AudioSourceNode, |
| +class AudioScheduledSourceNode : public AudioNode, |
| public ActiveScriptWrappable { |
| USING_GARBAGE_COLLECTED_MIXIN(AudioScheduledSourceNode); |
|
hongchan
2016/12/01 00:11:22
Is this needed here? All the children has this.
Raymond Toy
2016/12/01 18:48:32
This appears to be needed, if I remove this from t
|
| + DEFINE_WRAPPERTYPEINFO(); |
| public: |
| void start(ExceptionState&); |
| @@ -140,7 +141,7 @@ class AudioScheduledSourceNode : public AudioSourceNode, |
| // ScriptWrappable: |
| bool hasPendingActivity() const final; |
| - DEFINE_INLINE_VIRTUAL_TRACE() { AudioSourceNode::trace(visitor); } |
| + DEFINE_INLINE_VIRTUAL_TRACE() { AudioNode::trace(visitor); } |
| protected: |
| explicit AudioScheduledSourceNode(BaseAudioContext&); |