Index: Source/core/svg/SVGGradientElement.cpp |
diff --git a/Source/core/svg/SVGGradientElement.cpp b/Source/core/svg/SVGGradientElement.cpp |
index 41addd8d24f115eebf9243ac01ee1f44af3ea47a..baa9881b721c146e6749071b0843d1a42fb8d109 100644 |
--- a/Source/core/svg/SVGGradientElement.cpp |
+++ b/Source/core/svg/SVGGradientElement.cpp |
@@ -150,7 +150,7 @@ Vector<Gradient::ColorStop> SVGGradientElement::buildStops() |
Color color = stop->stopColorIncludingOpacity(); |
// Figure out right monotonic offset |
- float offset = stop->offset(); |
+ float offset = stop->offsetCurrentValue(); |
offset = std::min(std::max(previousOffset, offset), 1.0f); |
previousOffset = offset; |