Index: third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp b/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp |
index 47e5b4656e3572e4ac18e2ee48c26a3487cadd34..72088696fe067b92a469587cdf41b939bbcbe302 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp |
@@ -108,7 +108,7 @@ void SVGTreeScopeResources::unregisterResource(ResourceMap::iterator it) { |
resource->detachAllClients(it->key); |
resource->setRegistered(false); |
- m_resources.remove(it); |
+ m_resources.erase(it); |
} |
LayoutSVGResourceContainer* SVGTreeScopeResources::resourceById( |