| Index: Source/core/css/SVGCSSStyleSelector.cpp
|
| diff --git a/Source/core/css/SVGCSSStyleSelector.cpp b/Source/core/css/SVGCSSStyleSelector.cpp
|
| index dd8baa63b72e76efe73c3956448ddb7e394f8d62..1486c84abf19349f6a709edfd97ba7309b3cda3c 100644
|
| --- a/Source/core/css/SVGCSSStyleSelector.cpp
|
| +++ b/Source/core/css/SVGCSSStyleSelector.cpp
|
| @@ -105,7 +105,7 @@ void StyleResolver::applySVGProperty(CSSPropertyID id, CSSValue* value)
|
| primitiveValue = toCSSPrimitiveValue(value);
|
|
|
| // FIXME: This should be a const StyleResolverState, but
|
| - // unfortunately resolveColorFromPrimitiveValue
|
| + // unfortunately colorFromPrimitiveValue
|
| // has side-effects and is thus not const.
|
| StyleResolverState& state = m_state;
|
| SVGRenderStyle* svgstyle = state.style()->accessSVGStyle();
|
| @@ -568,7 +568,7 @@ void StyleResolver::applySVGProperty(CSSPropertyID id, CSSValue* value)
|
| int blur = item->blur ? item->blur->computeLength<int>(state.style(), state.rootElementStyle()) : 0;
|
| Color color;
|
| if (item->color)
|
| - color = state.resolveColorFromPrimitiveValue(item->color.get());
|
| + color = state.document()->textLinkColors().colorFromPrimitiveValue(item->color.get(), state.style()->visitedDependentColor(CSSPropertyColor));
|
|
|
| // -webkit-svg-shadow does should not have a spread or style
|
| ASSERT(!item->spread);
|
|
|