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

Unified Diff: third_party/WebKit/Source/modules/webaudio/WaveShaperNode.h

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO Created 3 years, 8 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: 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 6fd05b2163eb693686a9ab67368e2a5b2b95a358..3773781b9eb86572814f929bb26f654a3e575581 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/NotShared.h"
#include "modules/webaudio/AudioNode.h"
#include "modules/webaudio/WaveShaperProcessor.h"
@@ -46,9 +47,9 @@ class WaveShaperNode final : public AudioNode {
ExceptionState&);
// setCurve() is called on the main thread.
- void setCurve(DOMFloat32Array*, ExceptionState&);
+ void setCurve(NotShared<DOMFloat32Array>, ExceptionState&);
void setCurve(const Vector<float>&, ExceptionState&);
- DOMFloat32Array* curve();
+ NotShared<DOMFloat32Array> curve();
void setOversample(const String&);
String oversample() const;

Powered by Google App Engine
This is Rietveld 408576698