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

Unified Diff: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.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/BaseAudioContext.h
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
index dd0af87ef7b9d84b76f0d700858386d5303679de..f17a75c13da111ddc31dd85c1d0e61074d25c4a4 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
@@ -30,6 +30,7 @@
#include "bindings/core/v8/ScriptPromise.h"
#include "bindings/core/v8/ScriptPromiseResolver.h"
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/NotShared.h"
#include "core/dom/SuspendableObject.h"
#include "core/events/EventListener.h"
#include "modules/EventTargetModules.h"
@@ -220,11 +221,11 @@ class MODULES_EXPORT BaseAudioContext
ChannelMergerNode* createChannelMerger(size_t number_of_inputs,
ExceptionState&);
OscillatorNode* createOscillator(ExceptionState&);
- PeriodicWave* createPeriodicWave(DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ PeriodicWave* createPeriodicWave(NotShared<DOMFloat32Array> real,
+ NotShared<DOMFloat32Array> imag,
ExceptionState&);
- PeriodicWave* createPeriodicWave(DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ PeriodicWave* createPeriodicWave(NotShared<DOMFloat32Array> real,
+ NotShared<DOMFloat32Array> imag,
const PeriodicWaveConstraints&,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698