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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElementProxy.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/core/svg/SVGElementProxy.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElementProxy.cpp b/third_party/WebKit/Source/core/svg/SVGElementProxy.cpp
index b750171c172d925d259b06f1bb590984bed8bf22..4f33bfe380cbf9c09287f69cb784613ce55b0da6 100644
--- a/third_party/WebKit/Source/core/svg/SVGElementProxy.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElementProxy.cpp
@@ -127,7 +127,7 @@ void SVGElementProxy::removeClient(SVGResourceClient* client) {
// Unregister and drop the scope association, then drop the client.
if (!observer->hasClients()) {
observer->unregister();
- m_observers.remove(observer->treeScope());
+ m_observers.erase(observer->treeScope());
}
m_clients.remove(entry);
}

Powered by Google App Engine
This is Rietveld 408576698