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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: remove unused checks 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.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
index 65df5dac717f4b11b637396790f8a27e66125819..589fda98c1e420c96dd9626e660060ba2f94305b 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
@@ -520,8 +520,8 @@ OscillatorNode* BaseAudioContext::createOscillator(
}
PeriodicWave* BaseAudioContext::createPeriodicWave(
- DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ const NotShared<DOMFloat32Array>& real,
+ const NotShared<DOMFloat32Array>& imag,
ExceptionState& exceptionState) {
DCHECK(isMainThread());
@@ -529,8 +529,8 @@ PeriodicWave* BaseAudioContext::createPeriodicWave(
}
PeriodicWave* BaseAudioContext::createPeriodicWave(
- DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ const NotShared<DOMFloat32Array>& real,
+ const NotShared<DOMFloat32Array>& imag,
const PeriodicWaveConstraints& options,
ExceptionState& exceptionState) {
DCHECK(isMainThread());

Powered by Google App Engine
This is Rietveld 408576698