Index: Source/core/css/resolver/ElementStyleResources.cpp |
diff --git a/Source/core/css/resolver/ElementStyleResources.cpp b/Source/core/css/resolver/ElementStyleResources.cpp |
index e536d67dae8ff88da40a84afc38fabe1501c8dc4..5b47919a37380f72f1f309336208d028bfe506d6 100644 |
--- a/Source/core/css/resolver/ElementStyleResources.cpp |
+++ b/Source/core/css/resolver/ElementStyleResources.cpp |
@@ -46,7 +46,7 @@ PassRefPtr<StyleImage> ElementStyleResources::styleImage(const TextLinkColors& t |
if (value->isImageGeneratorValue()) { |
if (value->isGradientValue()) |
return generatedOrPendingFromValue(property, toCSSGradientValue(value)->gradientWithStylesResolved(textLinkColors, currentColor).get()); |
- return generatedOrPendingFromValue(property, static_cast<CSSImageGeneratorValue*>(value)); |
+ return generatedOrPendingFromValue(property, toCSSImageGeneratorValue(value)); |
} |
if (value->isImageSetValue()) |