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

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

Issue 2689713003: Don't clear 'web animations dirty' flag if we have no rare data (Closed)
Patch Set: Use testharness 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/svg/SVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
index d6b1fec83182a18db1c090445c82620478f66b18..2167da9a2e85d5c10a8eba3b515c9edf26730bf2 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
@@ -243,6 +243,8 @@ void SVGElement::applyActiveWebAnimations() {
map, *this, propertyFromAttribute(attribute)->baseValueBase());
InvalidatableInterpolation::applyStack(entry.value, environment);
}
+ if (!hasSVGRareData())
+ return;
svgRareData()->setWebAnimatedAttributesDirty(false);
}

Powered by Google App Engine
This is Rietveld 408576698