Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1603)

Unified Diff: Source/modules/webaudio/WaveShaperProcessor.h

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Win GPU tests (DOMDataView). Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/webaudio/WaveShaperProcessor.h
diff --git a/Source/modules/webaudio/WaveShaperProcessor.h b/Source/modules/webaudio/WaveShaperProcessor.h
index 63c0002ad39ae30dc76aa34e4f063ac9ca32edd7..d3715d78d17ffce0701a083522d9c507bc52d42b 100644
--- a/Source/modules/webaudio/WaveShaperProcessor.h
+++ b/Source/modules/webaudio/WaveShaperProcessor.h
@@ -25,10 +25,10 @@
#ifndef WaveShaperProcessor_h
#define WaveShaperProcessor_h
+#include "core/dom/DOMTypedArray.h"
+#include "modules/webaudio/AudioNode.h"
#include "platform/audio/AudioDSPKernel.h"
#include "platform/audio/AudioDSPKernelProcessor.h"
-#include "modules/webaudio/AudioNode.h"
-#include "wtf/Float32Array.h"
#include "wtf/RefPtr.h"
#include "wtf/ThreadingPrimitives.h"
@@ -52,15 +52,15 @@ public:
virtual void process(const AudioBus* source, AudioBus* destination, size_t framesToProcess) OVERRIDE;
- void setCurve(Float32Array*);
- Float32Array* curve() { return m_curve.get(); }
+ void setCurve(DOMFloat32Array*);
+ DOMFloat32Array* curve() { return m_curve.get(); }
void setOversample(OverSampleType);
OverSampleType oversample() const { return m_oversample; }
private:
// m_curve represents the non-linear shaping curve.
- RefPtr<Float32Array> m_curve;
+ RefPtr<DOMFloat32Array> m_curve;
OverSampleType m_oversample;
};

Powered by Google App Engine
This is Rietveld 408576698