| Index: third_party/WebKit/Source/modules/webaudio/AudioContext.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContext.h b/third_party/WebKit/Source/modules/webaudio/AudioContext.h
|
| index 9187b569422e2ad46d911718852862627a46aa74..e571af33cccc69bf7f7d20ad6a1a6482b4cdbaf8 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioContext.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioContext.h
|
| @@ -12,6 +12,7 @@
|
|
|
| namespace blink {
|
|
|
| +class AudioContextOptions;
|
| class Document;
|
| class ExceptionState;
|
| class ScriptState;
|
| @@ -22,7 +23,12 @@ class AudioContext : public BaseAudioContext {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| - static AudioContext* create(Document&, ExceptionState&);
|
| + static AudioContext* create(Document&,
|
| + const AudioContextOptions&,
|
| + ExceptionState&);
|
| + static AudioContext* create(Document&,
|
| + const WebAudioLatencyHint&,
|
| + ExceptionState&);
|
|
|
| ~AudioContext() override;
|
| DECLARE_VIRTUAL_TRACE();
|
| @@ -36,7 +42,7 @@ class AudioContext : public BaseAudioContext {
|
| bool hasRealtimeConstraint() final { return true; }
|
|
|
| protected:
|
| - AudioContext(Document&);
|
| + AudioContext(Document&, const WebAudioLatencyHint&);
|
|
|
| void didClose() final;
|
|
|
|
|