Bug 1328206 - Do not use binding_detail things in AudioContext, use Sequence instead; r=dminor
authorEdgar Chen <echen@mozilla.com>
Tue, 03 Jan 2017 11:54:37 +0800
changeset 327887 372eaedb265dbb3ea2653dacd9ddb606f036e27b
parent 327886 a4ab104b7f1e128c32fa036ccb803d8d6e99c87e
child 327888 6176579defcb66ff80f8c132ab4bd7b70d062d4c
push id31158
push usercbook@mozilla.com
push dateWed, 04 Jan 2017 15:10:38 +0000
treeherdermozilla-central@a2741dd43eea [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdminor
bugs1328206
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1328206 - Do not use binding_detail things in AudioContext, use Sequence instead; r=dminor
dom/media/webaudio/AudioContext.cpp
dom/media/webaudio/AudioContext.h
--- a/dom/media/webaudio/AudioContext.cpp
+++ b/dom/media/webaudio/AudioContext.cpp
@@ -429,18 +429,18 @@ AudioContext::CreateDynamicsCompressor(E
 
 already_AddRefed<BiquadFilterNode>
 AudioContext::CreateBiquadFilter(ErrorResult& aRv)
 {
   return BiquadFilterNode::Create(*this, BiquadFilterOptions(), aRv);
 }
 
 already_AddRefed<IIRFilterNode>
-AudioContext::CreateIIRFilter(const mozilla::dom::binding_detail::AutoSequence<double>& aFeedforward,
-                              const mozilla::dom::binding_detail::AutoSequence<double>& aFeedback,
+AudioContext::CreateIIRFilter(const Sequence<double>& aFeedforward,
+                              const Sequence<double>& aFeedback,
                               mozilla::ErrorResult& aRv)
 {
   IIRFilterOptions options;
   options.mFeedforward = aFeedforward;
   options.mFeedback = aFeedback;
   return IIRFilterNode::Create(*this, options, aRv);
 }
 
--- a/dom/media/webaudio/AudioContext.h
+++ b/dom/media/webaudio/AudioContext.h
@@ -250,18 +250,18 @@ public:
 
   already_AddRefed<DynamicsCompressorNode>
   CreateDynamicsCompressor(ErrorResult& aRv);
 
   already_AddRefed<BiquadFilterNode>
   CreateBiquadFilter(ErrorResult& aRv);
 
   already_AddRefed<IIRFilterNode>
-  CreateIIRFilter(const mozilla::dom::binding_detail::AutoSequence<double>& aFeedforward,
-                  const mozilla::dom::binding_detail::AutoSequence<double>& aFeedback,
+  CreateIIRFilter(const Sequence<double>& aFeedforward,
+                  const Sequence<double>& aFeedback,
                   mozilla::ErrorResult& aRv);
 
   already_AddRefed<OscillatorNode>
   CreateOscillator(ErrorResult& aRv);
 
   already_AddRefed<PeriodicWave>
   CreatePeriodicWave(const Float32Array& aRealData, const Float32Array& aImagData,
                      const PeriodicWaveConstraints& aConstraints,