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

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

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.h
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
index dd0af87ef7b9d84b76f0d700858386d5303679de..1f059e3cef761b8fe365674a054223c118860b39 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
@@ -220,11 +220,11 @@ class MODULES_EXPORT BaseAudioContext
ChannelMergerNode* createChannelMerger(size_t number_of_inputs,
ExceptionState&);
OscillatorNode* createOscillator(ExceptionState&);
- PeriodicWave* createPeriodicWave(DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ PeriodicWave* createPeriodicWave(const Vector<float>& real,
+ const Vector<float>& imag,
ExceptionState&);
- PeriodicWave* createPeriodicWave(DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ PeriodicWave* createPeriodicWave(const Vector<float>& real,
+ const Vector<float>& imag,
const PeriodicWaveConstraints&,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698