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

Unified Diff: third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp

Issue 2759703002: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: rebase, fix one platform-specific reference Created 3 years, 9 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/animation/CSSInterpolationTypesMap.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
index 7fee7a65019e27a2729ff92295d86bf9cf3794ed..aaed2bfcf47f31776d8b95fffa073ea18310d6ce 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
@@ -67,7 +67,7 @@ const InterpolationTypes& CSSInterpolationTypesMap::get(
const auto* registration = getRegistration(m_registry.get(), property);
if (registration) {
if (foundEntry) {
- applicableTypesMap.remove(entry);
+ applicableTypesMap.erase(entry);
}
return registration->interpolationTypes();
}

Powered by Google App Engine
This is Rietveld 408576698