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

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

Issue 2726923005: Clear started transitions overwritten by duration 0 transitions on the same property (Closed)
Patch Set: 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/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 8b2de64d7103ad26023ebd037c66668dbfb27764..f4e798086f454809c63759285b2dec8f135cd7b9 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h
@@ -177,6 +177,7 @@ class CSSAnimationUpdate final {
newTransition.effect = &effect;
m_newTransitions.set(id, newTransition);
}
+ void unstartTransition(CSSPropertyID id) { m_newTransitions.remove(id); }
bool isCancelledTransition(CSSPropertyID id) const {
return m_cancelledTransitions.contains(id);
}

Powered by Google App Engine
This is Rietveld 408576698