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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AnalyserNode.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/AnalyserNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.h b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.h
index b0dc0dac761d4079eb20273760d26ef933e3819f..e12448778eaf850f605b121587d9c079d03095d0 100644
--- a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.h
@@ -27,6 +27,7 @@
#define AnalyserNode_h
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/NotShared.h"
#include "modules/webaudio/AudioBasicInspectorNode.h"
#include "modules/webaudio/RealtimeAnalyser.h"
@@ -111,10 +112,10 @@ class AnalyserNode final : public AudioBasicInspectorNode {
double maxDecibels() const;
void setSmoothingTimeConstant(double, ExceptionState&);
double smoothingTimeConstant() const;
- void getFloatFrequencyData(DOMFloat32Array*);
- void getByteFrequencyData(DOMUint8Array*);
- void getFloatTimeDomainData(DOMFloat32Array*);
- void getByteTimeDomainData(DOMUint8Array*);
+ void getFloatFrequencyData(NotShared<DOMFloat32Array>);
+ void getByteFrequencyData(NotShared<DOMUint8Array>);
+ void getFloatTimeDomainData(NotShared<DOMFloat32Array>);
+ void getByteTimeDomainData(NotShared<DOMUint8Array>);
private:
AnalyserNode(BaseAudioContext&);

Powered by Google App Engine
This is Rietveld 408576698