Index: Source/core/css/CSSGradientValue.cpp |
diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp |
index d3002c256046bd4d55a9af7881f726e7d211e4a5..c9810449b13d050cf4a3e31eec486dc4baf85287 100644 |
--- a/Source/core/css/CSSGradientValue.cpp |
+++ b/Source/core/css/CSSGradientValue.cpp |
@@ -63,7 +63,7 @@ PassRefPtr<Image> CSSGradientValue::image(RenderObject* renderer, const IntSize& |
RefPtr<Gradient> gradient; |
RenderStyle* rootStyle = renderer->document().documentElement()->renderStyle(); |
- CSSToLengthConversionData conversionData(renderer->style(), rootStyle); |
+ CSSToLengthConversionData conversionData(renderer->style(), rootStyle, renderer->view()); |
if (isLinearGradientValue()) |
gradient = toCSSLinearGradientValue(this)->createGradient(conversionData, size); |
else |