Index: trunk/Source/core/css/CSSGradientValue.cpp |
=================================================================== |
--- trunk/Source/core/css/CSSGradientValue.cpp (revision 190671) |
+++ trunk/Source/core/css/CSSGradientValue.cpp (working copy) |
@@ -68,7 +68,7 @@ |
// We need to create an image. |
RefPtr<Gradient> gradient; |
- const LayoutStyle* rootStyle = renderer->document().documentElement()->layoutStyle(); |
+ 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); |