Index: third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp |
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp |
index 102122f69d7bb5953c30344fb0658be686cbbdfe..5a8f4474a9ff5eb79c4bb99c68c25b7fa2a7d7fe 100644 |
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp |
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp |
@@ -75,12 +75,12 @@ void MediaStreamDescriptor::removeComponent(MediaStreamComponent* component) { |
case MediaStreamSource::TypeAudio: |
pos = m_audioComponents.find(component); |
if (pos != kNotFound) |
- m_audioComponents.remove(pos); |
+ m_audioComponents.erase(pos); |
break; |
case MediaStreamSource::TypeVideo: |
pos = m_videoComponents.find(component); |
if (pos != kNotFound) |
- m_videoComponents.remove(pos); |
+ m_videoComponents.erase(pos); |
break; |
} |
} |