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

Unified Diff: third_party/WebKit/Source/modules/webaudio/PeriodicWave.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/PeriodicWave.h
diff --git a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
index fcc26b6b1aa5ede72518db738aa61f16f7ff4f85..9e323d8cc32987420756518123e9c1590e59cdc3 100644
--- a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
+++ b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
@@ -55,16 +55,8 @@ class PeriodicWave final : public GarbageCollectedFinalized<PeriodicWave>,
// Creates an arbitrary periodic wave given the frequency components (Fourier
// coefficients).
static PeriodicWave* Create(BaseAudioContext&,
- size_t real_length,
- const float* real,
- size_t imag_length,
- const float* imag,
- bool normalize,
- ExceptionState&);
-
- static PeriodicWave* Create(BaseAudioContext&,
- DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ const Vector<float>& real,
+ const Vector<float>& imag,
bool normalize,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698