diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-04 16:18:03 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-04 16:18:03 +0100 |
commit | 7fcb7f54468aaf4e988e545ef1f6a8b9ab23b7dc (patch) | |
tree | fa285d3a7373596199df427327fd76a3d888f789 /dom/media/webaudio/AudioContext.h | |
parent | dfce7fa7b664815bbce363d252033094a0dfe843 (diff) | |
download | UXP-7fcb7f54468aaf4e988e545ef1f6a8b9ab23b7dc.tar UXP-7fcb7f54468aaf4e988e545ef1f6a8b9ab23b7dc.tar.gz UXP-7fcb7f54468aaf4e988e545ef1f6a8b9ab23b7dc.tar.lz UXP-7fcb7f54468aaf4e988e545ef1f6a8b9ab23b7dc.tar.xz UXP-7fcb7f54468aaf4e988e545ef1f6a8b9ab23b7dc.zip |
Remove proprietary constructor on AudioContext.
This is a B2G leftover, was proprietary, and is causing issues
because `AudioContext` can now have a parameter that is a property bag,
per spec (we do not do anything with the property bag now; the audio
back-end will use automatic values for everything).
This resolves #924.
Diffstat (limited to 'dom/media/webaudio/AudioContext.h')
-rw-r--r-- | dom/media/webaudio/AudioContext.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dom/media/webaudio/AudioContext.h b/dom/media/webaudio/AudioContext.h index 069efa986..599debef8 100644 --- a/dom/media/webaudio/AudioContext.h +++ b/dom/media/webaudio/AudioContext.h @@ -151,12 +151,6 @@ public: static already_AddRefed<AudioContext> Constructor(const GlobalObject& aGlobal, ErrorResult& aRv); - // Constructor for regular AudioContext. A default audio channel is needed. - static already_AddRefed<AudioContext> - Constructor(const GlobalObject& aGlobal, - AudioChannel aChannel, - ErrorResult& aRv); - // Constructor for offline AudioContext static already_AddRefed<AudioContext> Constructor(const GlobalObject& aGlobal, |