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

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

Issue 2807673002: createPeriodicWave parameters are sequence<float> (Closed)
Patch Set: Rebase 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 a3ea06ea0a2fbfce1d28190fe5b9839619cc4f43..2cbb4eb4567e8cdaa2d160be4ea08e604b2ff314 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
@@ -523,8 +523,8 @@ OscillatorNode* BaseAudioContext::createOscillator(
}
PeriodicWave* BaseAudioContext::createPeriodicWave(
- DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ const Vector<float>& real,
+ const Vector<float>& imag,
ExceptionState& exception_state) {
DCHECK(IsMainThread());
@@ -532,8 +532,8 @@ PeriodicWave* BaseAudioContext::createPeriodicWave(
}
PeriodicWave* BaseAudioContext::createPeriodicWave(
- DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ const Vector<float>& real,
+ const Vector<float>& imag,
const PeriodicWaveConstraints& options,
ExceptionState& exception_state) {
DCHECK(IsMainThread());

Powered by Google App Engine
This is Rietveld 408576698