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

Unified Diff: third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.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/BiquadFilterNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.h b/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.h
index 4ca7a350e575d94ec8ea0a4d2d75996d8379acca..b83c5c753773959d25a479c21a98edb7f16728ed 100644
--- a/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.h
@@ -27,6 +27,7 @@
#define BiquadFilterNode_h
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/NotShared.h"
#include "modules/webaudio/AudioNode.h"
#include "modules/webaudio/BiquadProcessor.h"
@@ -70,9 +71,9 @@ class BiquadFilterNode final : public AudioNode {
// Get the magnitude and phase response of the filter at the given
// set of frequencies (in Hz). The phase response is in radians.
- void getFrequencyResponse(const DOMFloat32Array* frequency_hz,
- DOMFloat32Array* mag_response,
- DOMFloat32Array* phase_response);
+ void getFrequencyResponse(NotShared<const DOMFloat32Array> frequency_hz,
+ NotShared<DOMFloat32Array> mag_response,
+ NotShared<DOMFloat32Array> phase_response);
private:
BiquadFilterNode(BaseAudioContext&);

Powered by Google App Engine
This is Rietveld 408576698