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

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

Issue 1420553004: SVG Web Animations: Add compositing pipeline for SVGInterpolationTypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_svgValueInterpolationType
Patch Set: Rebased Created 5 years, 2 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/KeyframeEffect.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
index 1864e12452854a136f32eff9a877b4a1926284d3..508ee9c1d47e7e94228c6c0dd2d709f0fb260b06 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
@@ -193,11 +193,11 @@ void KeyframeEffect::applyEffects()
}
}
- if (changed)
+ if (changed) {
m_target->setNeedsAnimationStyleRecalc();
-
- if (m_target->isSVGElement())
- m_sampledEffect->applySVGUpdate(toSVGElement(*m_target));
+ if (m_target->isSVGElement())
+ toSVGElement(*m_target).setWebAnimationsPending();
+ }
}
void KeyframeEffect::clearEffects()

Powered by Google App Engine
This is Rietveld 408576698