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 4919f18e578cefde127ec84a18f64ea3efd8d76c..65df5dac717f4b11b637396790f8a27e66125819 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp |
@@ -666,7 +666,7 @@ void BaseAudioContext::removeFinishedSourceNodesOnMainThread() { |
for (AudioNode* node : m_finishedSourceNodes) { |
size_t i = m_activeSourceNodes.find(node); |
if (i != kNotFound) |
- m_activeSourceNodes.remove(i); |
+ m_activeSourceNodes.erase(i); |
} |
m_finishedSourceNodes.clear(); |
} |