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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp

Issue 2577993003: Update paint properties on animate motion transform updates (Closed)
Patch Set: Add missing object. Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
index 54bf66d0c4cbcf6bffb4fd6d81ce5f41d97f4910..138a063a09b3349582e0511cd9327498d85f5df1 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp
@@ -299,6 +299,10 @@ void SVGAnimateMotionElement::updateAnimationMode() {
void SVGAnimateMotionElement::invalidateForAnimateMotionTransformChange(
LayoutObject& object) {
object.setNeedsTransformUpdate();
+ if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) {
+ // The transform paint property relies on the SVG transform value.
+ object.setNeedsPaintPropertyUpdate();
+ }
markForLayoutAndParentResourceInvalidation(&object);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698