Index: Source/core/css/CSSGradientValue.cpp |
diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp |
index a6563c95b5a99670bc229541982653a6a465de67..30ab9a04736e8d70c223320f486a8f0833a17d92 100644 |
--- a/Source/core/css/CSSGradientValue.cpp |
+++ b/Source/core/css/CSSGradientValue.cpp |
@@ -68,7 +68,7 @@ PassRefPtr<Image> CSSGradientValue::image(LayoutObject* renderer, const IntSize& |
// We need to create an image. |
RefPtr<Gradient> gradient; |
- LayoutStyle* rootStyle = renderer->document().documentElement()->layoutStyle(); |
+ const LayoutStyle* rootStyle = renderer->document().documentElement()->layoutStyle(); |
CSSToLengthConversionData conversionData(renderer->style(), rootStyle, renderer->view(), renderer->style()->effectiveZoom()); |
if (isLinearGradientValue()) |
gradient = toCSSLinearGradientValue(this)->createGradient(conversionData, size, *renderer); |