Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp |
index 2b8bf62718a7e36b3330cd62e7ddac7cfca71d72..ad61f502b9035b30a82d2c3efd659a5d3539bd3d 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp |
@@ -61,7 +61,7 @@ void LayoutSVGResourcePattern::removeAllClientsFromCache( |
void LayoutSVGResourcePattern::removeClientFromCache(LayoutObject* client, |
bool markForInvalidation) { |
ASSERT(client); |
- m_patternMap.remove(client); |
+ m_patternMap.erase(client); |
markClientForInvalidation( |
client, markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation); |
} |