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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.cpp

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (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/mediastream/MediaStreamRegistry.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.cpp b/third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.cpp
index 108d32d5cf1d3c308dc3eaf17842b3f393ff1d5c..add405703a3bf85a913c8fdf090d4d668f85e935 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.cpp
@@ -49,7 +49,7 @@ void MediaStreamRegistry::registerURL(SecurityOrigin*,
void MediaStreamRegistry::unregisterURL(const KURL& url) {
DCHECK(isMainThread());
- m_streamDescriptors.remove(url.getString());
+ m_streamDescriptors.erase(url.getString());
}
bool MediaStreamRegistry::contains(const String& url) {

Powered by Google App Engine
This is Rietveld 408576698