| Index: third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp b/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp
|
| index f841b05a011302dc632fab2b9612afe28989d204..4942b28f677b7904b6f4d4d1f5a712fd29f305f5 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp
|
| @@ -74,7 +74,7 @@ void WaveShaperDSPKernel::processCurve(const float* source, float* destination,
|
| ASSERT(destination);
|
| ASSERT(getWaveShaperProcessor());
|
|
|
| - DOMFloat32Array* curve = getWaveShaperProcessor()->curve();
|
| + Vector<float>* curve = getWaveShaperProcessor()->curve();
|
| if (!curve) {
|
| // Act as "straight wire" pass-through if no curve is set.
|
| memcpy(destination, source, sizeof(float) * framesToProcess);
|
| @@ -82,7 +82,7 @@ void WaveShaperDSPKernel::processCurve(const float* source, float* destination,
|
| }
|
|
|
| float* curveData = curve->data();
|
| - int curveLength = curve->length();
|
| + int curveLength = curve->size();
|
|
|
| ASSERT(curveData);
|
|
|
|
|