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

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

Issue 2749593002: Remove argument to LayoutSVGResourceGradient::collectGradientAttributes (Closed)
Patch Set: Rebase Created 3 years, 9 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/SVGLinearGradientElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp b/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp
index ded7f5b769a43f71395555ca5cb65a24d83130ba..498d66f19dbeea49f3282ace1bef2193413b7abb 100644
--- a/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp
@@ -97,6 +97,7 @@ LayoutObject* SVGLinearGradientElement::createLayoutObject(
static void setGradientAttributes(const SVGGradientElement& element,
LinearGradientAttributes& attributes,
bool isLinear) {
+ element.synchronizeAnimatedSVGAttribute(anyQName());
element.collectCommonAttributes(attributes);
if (!isLinear)

Powered by Google App Engine
This is Rietveld 408576698