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

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

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/PeriodicWave.h
diff --git a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
index 1e44125382cfd74d7c269c4969791c076bc0460b..44404f502f650a602834514269554e8b0b1384a9 100644
--- a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
+++ b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
@@ -56,16 +56,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&,
- NotShared<DOMFloat32Array> real,
- NotShared<DOMFloat32Array> imag,
+ const Vector<float>& real,
+ const Vector<float>& imag,
bool normalize,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698