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

Unified Diff: third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp

Issue 2759703002: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: rebase, fix one platform-specific reference Created 3 years, 9 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/mediasource/MediaSourceRegistry.cpp
diff --git a/third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp b/third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp
index ecc2f171890e43f4945344c06ad6b8837d653b05..1d11b981b7dd7d667f35275e4fb4cdf31b67e779 100644
--- a/third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp
+++ b/third_party/WebKit/Source/modules/mediasource/MediaSourceRegistry.cpp
@@ -60,7 +60,7 @@ void MediaSourceRegistry::unregisterURL(const KURL& url) {
return;
MediaSource* source = iter->value;
- m_mediaSources.remove(iter);
+ m_mediaSources.erase(iter);
source->removedFromRegistry();
}

Powered by Google App Engine
This is Rietveld 408576698