| Index: third_party/WebKit/Source/modules/webaudio/AudioBuffer.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBuffer.h b/third_party/WebKit/Source/modules/webaudio/AudioBuffer.h
|
| index b371a35dd3b45e7504dcffe895b8bc07643dae1b..eef33e93fe665f30bdc50be8cdd52f4493d9f700 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioBuffer.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioBuffer.h
|
| @@ -31,6 +31,7 @@
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/dom/DOMTypedArray.h"
|
| +#include "core/dom/NotShared.h"
|
| #include "modules/ModulesExport.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
| @@ -76,13 +77,17 @@ class MODULES_EXPORT AudioBuffer final : public GarbageCollected<AudioBuffer>,
|
| unsigned numberOfChannels() const { return m_channels.size(); }
|
| DOMFloat32Array* getChannelData(unsigned channelIndex, ExceptionState&);
|
| DOMFloat32Array* getChannelData(unsigned channelIndex);
|
| - void copyFromChannel(DOMFloat32Array*, long channelNumber, ExceptionState&);
|
| - void copyFromChannel(DOMFloat32Array*,
|
| + void copyFromChannel(const NotShared<DOMFloat32Array>&,
|
| + long channelNumber,
|
| + ExceptionState&);
|
| + void copyFromChannel(const NotShared<DOMFloat32Array>&,
|
| long channelNumber,
|
| unsigned long startInChannel,
|
| ExceptionState&);
|
| - void copyToChannel(DOMFloat32Array*, long channelNumber, ExceptionState&);
|
| - void copyToChannel(DOMFloat32Array*,
|
| + void copyToChannel(const NotShared<DOMFloat32Array>&,
|
| + long channelNumber,
|
| + ExceptionState&);
|
| + void copyToChannel(const NotShared<DOMFloat32Array>&,
|
| long channelNumber,
|
| unsigned long startInChannel,
|
| ExceptionState&);
|
|
|