Index: Source/core/css/CSSGradientValue.cpp |
diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp |
index 1f86b09498bbbc041709eaa367bd74a8273ea197..254cda8390d74dd243b6f0760682cf4dfe0ec010 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); |