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

Unified Diff: third_party/WebKit/Source/platform/blob/BlobRegistry.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/platform/blob/BlobRegistry.cpp
diff --git a/third_party/WebKit/Source/platform/blob/BlobRegistry.cpp b/third_party/WebKit/Source/platform/blob/BlobRegistry.cpp
index 26d7f4ea0c102d3f9042e4a8635fa239a5d67704..b376f281654519d6d47f226f3c63a262355fb7c0 100644
--- a/third_party/WebKit/Source/platform/blob/BlobRegistry.cpp
+++ b/third_party/WebKit/Source/platform/blob/BlobRegistry.cpp
@@ -86,7 +86,7 @@ static void saveToOriginMap(SecurityOrigin* origin, const KURL& url) {
static void removeFromOriginMap(const KURL& url) {
if (BlobURL::getOrigin(url) == "null")
- originMap()->remove(url.getString());
+ originMap()->erase(url.getString());
}
void BlobRegistry::registerBlobData(const String& uuid,

Powered by Google App Engine
This is Rietveld 408576698