| Index: Source/modules/webaudio/AudioContext.h
|
| diff --git a/Source/modules/webaudio/AudioContext.h b/Source/modules/webaudio/AudioContext.h
|
| index 0585225c2b5251b55b5349e4d1e37d108df8e85d..51e0a3863275b01e1e998d599e72054d4616d9d9 100644
|
| --- a/Source/modules/webaudio/AudioContext.h
|
| +++ b/Source/modules/webaudio/AudioContext.h
|
| @@ -77,10 +77,10 @@ class WaveShaperNode;
|
| class AudioContext : public ActiveDOMObject, public ScriptWrappable, public ThreadSafeRefCounted<AudioContext>, public EventTargetWithInlineData {
|
| public:
|
| // Create an AudioContext for rendering to the audio hardware.
|
| - static PassRefPtr<AudioContext> create(Document*);
|
| + static PassRefPtr<AudioContext> create(Document&, ExceptionState&);
|
|
|
| - // Create an AudioContext for offline (non-realtime) rendering.
|
| - static PassRefPtr<AudioContext> createOfflineContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&);
|
| + // Deprecated: create an AudioContext for offline (non-realtime) rendering.
|
| + static PassRefPtr<AudioContext> create(Document&, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState&);
|
|
|
| virtual ~AudioContext();
|
|
|
|
|