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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElementProxy.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/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 139bd47ad9207c07ebbda5a9593414aadba86f5f..29e2c7d2335509590d2825def2778c2f953c6c4b 100644
--- a/third_party/WebKit/Source/core/svg/SVGElementProxy.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElementProxy.cpp
@@ -129,7 +129,7 @@ void SVGElementProxy::removeClient(SVGResourceClient* client) {
observer->unregister();
m_observers.erase(observer->treeScope());
}
- m_clients.remove(entry);
+ m_clients.erase(entry);
}
void SVGElementProxy::resolve(Document& document) {

Powered by Google App Engine
This is Rietveld 408576698