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

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

Issue 2809543002: bindings: Pass is_null flag to attribute setters when they are nullable (Closed)
Patch Set: Created 3 years, 8 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 3c8a0f93014821d3910284442dfdd0a2f587c8f6..99cb1bf88e81f27027dffa808448538e9c73c907 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
@@ -606,8 +606,10 @@ void CSSAnimations::MaybeApplyPendingUpdate(Element* element) {
animation->setId(getPropertyName(property.CssProperty()));
}
// Set the current time as the start time for retargeted transitions
- if (retargeted_compositor_transitions.Contains(property))
- animation->setStartTime(element->GetDocument().Timeline().currentTime());
+ if (retargeted_compositor_transitions.Contains(property)) {
+ animation->setStartTime(element->GetDocument().Timeline().currentTime(),
+ false);
+ }
animation->Update(kTimingUpdateOnDemand);
running_transition.animation = animation;
transitions_.Set(property, running_transition);
« no previous file with comments | « third_party/WebKit/Source/core/animation/EffectStackTest.cpp ('k') | third_party/WebKit/Source/core/html/HTMLInputElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698