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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h

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/css/CSSAnimationUpdate.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h b/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
index b3f8ac21dfd552e47359fdda85256b3a94d4e59c..9ed69d6f83fc13f3ff313b4d73d307cb0a321023 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
@@ -182,7 +182,7 @@ class CSSAnimationUpdate final {
m_newTransitions.set(property, newTransition);
}
void unstartTransition(const PropertyHandle& property) {
- m_newTransitions.remove(property);
+ m_newTransitions.erase(property);
}
bool isCancelledTransition(const PropertyHandle& property) const {
return m_cancelledTransitions.contains(property);

Powered by Google App Engine
This is Rietveld 408576698