Index: third_party/WebKit/Source/modules/webaudio/WaveShaperNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.h b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.h |
index 42f053afde75bc5ee773f76f631ae315212ed620..04b35c117adb4834c68fc10020a047965c3c3c78 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperNode.h |
@@ -27,6 +27,7 @@ |
#define WaveShaperNode_h |
#include "core/dom/DOMTypedArray.h" |
+#include "core/dom/MaybeShared.h" |
#include "modules/webaudio/AudioNode.h" |
#include "modules/webaudio/WaveShaperProcessor.h" |
@@ -46,7 +47,7 @@ class WaveShaperNode final : public AudioNode { |
ExceptionState&); |
// setCurve() is called on the main thread. |
- void setCurve(DOMFloat32Array*, ExceptionState&); |
+ void setCurve(const MaybeShared<DOMFloat32Array>&, ExceptionState&); |
void setCurve(const Vector<float>&, ExceptionState&); |
DOMFloat32Array* curve(); |