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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElementProxy.cpp

Issue 2799573003: Migrate WTF::HashCountedSet::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 8 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 a87b6bcd30e5cd8802388c7f79873ebc57ea7fd6..6a594ec4a0ac5da653c9c2169d13b7e4f210ac86 100644
--- a/third_party/WebKit/Source/core/svg/SVGElementProxy.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElementProxy.cpp
@@ -21,7 +21,7 @@ class SVGElementProxy::IdObserver : public IdTargetObserver {
void addClient(SVGResourceClient* client) { m_clients.insert(client); }
bool removeClient(SVGResourceClient* client) {
- return m_clients.remove(client);
+ return m_clients.erase(client);
}
bool hasClients() const { return !m_clients.isEmpty(); }

Powered by Google App Engine
This is Rietveld 408576698