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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 11 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/layout/svg/LayoutSVGResourceFilter.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp
index 1f6294480c8733bd24561d61c54576666316b273..e914768dd8802c8e105ad792652dcbb5fc25ce73 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp
@@ -77,7 +77,7 @@ void LayoutSVGResourceFilter::removeClientFromCache(LayoutObject* client,
bool filterCached = m_filter.contains(client);
if (filterCached)
- m_filter.remove(client);
+ m_filter.erase(client);
// If the filter has a cached subtree, invalidate the associated display item.
if (markForInvalidation && filterCached)

Powered by Google App Engine
This is Rietveld 408576698