Index: Source/core/css/CSSGradientValue.cpp |
diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp |
index 682699720450e0f7028cd0ed0fc0ccfc3bca58dd..bb69e9bcb47670b13c3b312fd2b39811abaf4d70 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 |