Index: Source/core/rendering/svg/RenderSVGResourceLinearGradient.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceLinearGradient.h b/Source/core/rendering/svg/RenderSVGResourceLinearGradient.h |
index c1a8dcdad07aa7b79eaa15f6e498e97673e3b33f..b20b495b90a34ca66482d2177147a9bda338a840 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceLinearGradient.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceLinearGradient.h |
@@ -35,8 +35,8 @@ public: |
virtual const char* renderName() const override { return "RenderSVGResourceLinearGradient"; } |
+ static const RenderSVGResourceType s_resourceType = LinearGradientResourceType; |
virtual RenderSVGResourceType resourceType() const override { return s_resourceType; } |
- static const RenderSVGResourceType s_resourceType; |
virtual SVGUnitTypes::SVGUnitType gradientUnits() const override { return m_attributes.gradientUnits(); } |
virtual void calculateGradientTransform(AffineTransform& transform) override { transform = m_attributes.gradientTransform(); } |