| Index: third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp
|
| index 4a9e8db73300490a2b3c6b7a2de366ddb321e9fc..66fd10cdefbc4e34db678d9d7f9ace5a05d1742c 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp
|
| @@ -82,14 +82,15 @@ PeriodicWave* PeriodicWave::create(BaseAudioContext& context,
|
| }
|
|
|
| PeriodicWave* PeriodicWave::create(BaseAudioContext& context,
|
| - DOMFloat32Array* real,
|
| - DOMFloat32Array* imag,
|
| + const NotShared<DOMFloat32Array>& real,
|
| + const NotShared<DOMFloat32Array>& imag,
|
| bool disableNormalization,
|
| ExceptionState& exceptionState) {
|
| DCHECK(isMainThread());
|
|
|
| - return create(context, real->length(), real->data(), imag->length(),
|
| - imag->data(), disableNormalization, exceptionState);
|
| + return create(context, real.view()->length(), real.view()->data(),
|
| + imag.view()->length(), imag.view()->data(),
|
| + disableNormalization, exceptionState);
|
| }
|
|
|
| PeriodicWave* PeriodicWave::create(BaseAudioContext* context,
|
|
|