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

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

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference Created 3 years, 10 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/AudioNodeOutput.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp b/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp
index c008f6cdcc3893a3b54a341f62cd4d088d6c5ce4..f6412dacf116e22fb6770cfca4772b9d2c108676 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp
@@ -168,7 +168,7 @@ void AudioNodeOutput::addInput(AudioNodeInput& input) {
void AudioNodeOutput::removeInput(AudioNodeInput& input) {
ASSERT(deferredTaskHandler().isGraphOwner());
input.handler().breakConnection();
- m_inputs.remove(&input);
+ m_inputs.erase(&input);
}
void AudioNodeOutput::disconnectAllInputs() {
@@ -198,7 +198,7 @@ void AudioNodeOutput::addParam(AudioParamHandler& param) {
void AudioNodeOutput::removeParam(AudioParamHandler& param) {
ASSERT(deferredTaskHandler().isGraphOwner());
- m_params.remove(&param);
+ m_params.erase(&param);
}
void AudioNodeOutput::disconnectAllParams() {

Powered by Google App Engine
This is Rietveld 408576698