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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp

Issue 2007553002: Retire setGradientSpaceTransform, setPatternSpaceTransform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fmalita discovers SkMatrix::I() Created 4 years, 7 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/layout/svg/LayoutSVGResourceGradient.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp
index ee424f9048d8f51d90ddc25acbfa57ca7b2efdb9..ab14fac7336b273184380120771f47f2d3cf773e 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp
@@ -93,9 +93,7 @@ SVGPaintServer LayoutSVGResourceGradient::preparePaintServer(const LayoutObject&
if (!gradientData->gradient)
return SVGPaintServer::invalid();
- gradientData->gradient->setGradientSpaceTransform(gradientData->userspaceTransform);
-
- return SVGPaintServer(gradientData->gradient);
+ return SVGPaintServer(gradientData->gradient, gradientData->userspaceTransform);
}
bool LayoutSVGResourceGradient::isChildAllowed(LayoutObject* child, const ComputedStyle&) const

Powered by Google App Engine
This is Rietveld 408576698