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

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

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: Created 3 years, 11 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.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp
index b71ced33acc527aa074e0c446d2e291ce20f2c21..d55f92cb1be9ce48800ab23a2fc2785b7c136972 100644
--- a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp
@@ -299,7 +299,7 @@ void PeriodicWave::createBandLimitedTables(const float* realData,
std::unique_ptr<AudioFloatArray> table =
WTF::makeUnique<AudioFloatArray>(waveSize);
adjustV8ExternalMemory(waveSize * sizeof(float));
- m_bandLimitedTables.append(std::move(table));
+ m_bandLimitedTables.push_back(std::move(table));
// Apply an inverse FFT to generate the time-domain table data.
float* data = m_bandLimitedTables[rangeIndex]->data();

Powered by Google App Engine
This is Rietveld 408576698