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

Unified Diff: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.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/BaseAudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
index 986743356dc7dcace1c0ae88f0d4069bf76bbfcb..800c0a9f0c9450e5ebe9da9e2e454e631279eca0 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
@@ -630,7 +630,7 @@ void BaseAudioContext::notifyStateChange() {
void BaseAudioContext::notifySourceNodeFinishedProcessing(
AudioHandler* handler) {
DCHECK(isAudioThread());
- m_finishedSourceHandlers.append(handler);
+ m_finishedSourceHandlers.push_back(handler);
}
void BaseAudioContext::removeFinishedSourceNodes() {
@@ -675,7 +675,7 @@ void BaseAudioContext::notifySourceNodeStartedProcessing(AudioNode* node) {
DCHECK(isMainThread());
AutoLocker locker(this);
- m_activeSourceNodes.append(node);
+ m_activeSourceNodes.push_back(node);
node->handler().makeConnection();
}

Powered by Google App Engine
This is Rietveld 408576698