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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: add some layout tests 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 fae3a93bcf919b88125d82a49e5ae94094d975b5..04a5c3dc251b436f839b8f53c560376eac36dc39 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"
@@ -221,11 +222,11 @@ class MODULES_EXPORT BaseAudioContext
ChannelMergerNode* createChannelMerger(size_t numberOfInputs,
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