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); |
} |