Index: third_party/WebKit/Source/modules/webaudio/OscillatorNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.h b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.h |
index 9714472f2f157789c7d262741185f316cade4616..a0becfa6d791ad86b2e29f0fa81a1a3fcc5b154f 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.h |
@@ -27,6 +27,7 @@ |
#include "modules/webaudio/AudioParam.h" |
#include "modules/webaudio/AudioScheduledSourceNode.h" |
+#include "modules/webaudio/OscillatorOptions.h" |
#include "platform/audio/AudioBus.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
@@ -36,6 +37,7 @@ namespace blink { |
class BaseAudioContext; |
class ExceptionState; |
+class OscillatorOptions; |
class PeriodicWave; |
// OscillatorNode is an audio generator of periodic waveforms. |
@@ -100,6 +102,7 @@ class OscillatorNode final : public AudioScheduledSourceNode { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static OscillatorNode* create(BaseAudioContext&, ExceptionState&); |
+ static OscillatorNode* create(BaseAudioContext*, const OscillatorOptions&, ExceptionState&); |
DECLARE_VIRTUAL_TRACE(); |
String type() const; |