Index: third_party/WebKit/Source/core/html/PublicURLManager.cpp |
diff --git a/third_party/WebKit/Source/core/html/PublicURLManager.cpp b/third_party/WebKit/Source/core/html/PublicURLManager.cpp |
index da224be7c7f1285de085cf791f039bb26a0aa729..609ee09b430650be62e73f02a324da89a4f5daf0 100644 |
--- a/third_party/WebKit/Source/core/html/PublicURLManager.cpp |
+++ b/third_party/WebKit/Source/core/html/PublicURLManager.cpp |
@@ -65,7 +65,7 @@ void PublicURLManager::revoke(const KURL& url) { |
for (auto& registryUrl : m_registryToURL) { |
if (registryUrl.value.contains(url.getString())) { |
registryUrl.key->unregisterURL(url); |
- registryUrl.value.remove(url.getString()); |
+ registryUrl.value.erase(url.getString()); |
break; |
} |
} |
@@ -86,7 +86,7 @@ void PublicURLManager::revoke(const String& uuid) { |
} |
} |
for (const auto& url : urlsToRemove) |
- registeredURLs.remove(url); |
+ registeredURLs.erase(url); |
urlsToRemove.clear(); |
} |
} |