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

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

Issue 2807673002: createPeriodicWave parameters are sequence<float> (Closed)
Patch Set: Rebaseline test 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 4ff9d1bf1e6a8589c481557393f4a4cb573caa5d..392727ed75b856204eab4c204c11199ae5b35e23 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(
- NotShared<DOMFloat32Array> real,
- NotShared<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(
- NotShared<DOMFloat32Array> real,
- NotShared<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