| Index: Source/core/css/resolver/ElementStyleResources.cpp
|
| diff --git a/Source/core/css/resolver/ElementStyleResources.cpp b/Source/core/css/resolver/ElementStyleResources.cpp
|
| index f99919aeb2790cf0727a8f2e2d8b40f0b0cb23b4..ab9b0c3865c699594dbff27c4d5d57327ce79f4f 100644
|
| --- a/Source/core/css/resolver/ElementStyleResources.cpp
|
| +++ b/Source/core/css/resolver/ElementStyleResources.cpp
|
| @@ -38,14 +38,14 @@ ElementStyleResources::ElementStyleResources()
|
| {
|
| }
|
|
|
| -PassRefPtr<StyleImage> ElementStyleResources::styleImage(const TextLinkColors& textLinkColors, Color currentColor, CSSPropertyID property, CSSValue* value)
|
| +PassRefPtr<StyleImage> ElementStyleResources::styleImage(const TextLinkColors& textLinkColors, CSSPropertyID property, CSSValue* value)
|
| {
|
| if (value->isImageValue())
|
| return cachedOrPendingFromValue(property, toCSSImageValue(value));
|
|
|
| if (value->isImageGeneratorValue()) {
|
| if (value->isGradientValue())
|
| - return generatedOrPendingFromValue(property, static_cast<CSSGradientValue*>(value)->gradientWithStylesResolved(textLinkColors, currentColor).get());
|
| + return generatedOrPendingFromValue(property, static_cast<CSSGradientValue*>(value)->gradientWithStylesResolved(textLinkColors).get());
|
| return generatedOrPendingFromValue(property, static_cast<CSSImageGeneratorValue*>(value));
|
| }
|
|
|
|
|