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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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/CSSAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
index ba33ac6fe87e827ff7cb51899c436f61a37f3be1..39a15c6b8a3760c1ee1ebc041080462e0fe64027 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
@@ -502,7 +502,7 @@ void CSSAnimations::maybeApplyPendingUpdate(Element* element) {
m_pendingUpdate.newTransitions().find(id) !=
m_pendingUpdate.newTransitions().end() &&
!animation->limited())
- retargetedCompositorTransitions.add(
+ retargetedCompositorTransitions.insert(
id, std::pair<KeyframeEffectReadOnly*, double>(
effect, animation->startTimeInternal()));
animation->cancel();

Powered by Google App Engine
This is Rietveld 408576698