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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioBuffer.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/AudioBuffer.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp b/third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp
index fe8639de114c368b583aa512b1ef4d1a93c2bb5e..a5dde58e6cfcbcc3ca0f0da57c5e26a8743a7e50 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp
@@ -177,7 +177,7 @@ AudioBuffer::AudioBuffer(unsigned numberOfChannels,
return;
channelDataArray->setNeuterable(false);
- m_channels.append(channelDataArray);
+ m_channels.push_back(channelDataArray);
}
}
@@ -197,7 +197,7 @@ AudioBuffer::AudioBuffer(AudioBus* bus)
const float* src = bus->channel(i)->data();
float* dst = channelDataArray->data();
memmove(dst, src, m_length * sizeof(*dst));
- m_channels.append(channelDataArray);
+ m_channels.push_back(channelDataArray);
}
}
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRDisplay.cpp ('k') | third_party/WebKit/Source/modules/webaudio/AudioContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698