Index: Source/core/rendering/style/StylePendingImage.h |
diff --git a/Source/core/rendering/style/StylePendingImage.h b/Source/core/rendering/style/StylePendingImage.h |
index e8e8e03faa6d5616a812b0ad4be059761e19397c..f9a00bc33530b16fe48e4834695291d49ef4cf60 100644 |
--- a/Source/core/rendering/style/StylePendingImage.h |
+++ b/Source/core/rendering/style/StylePendingImage.h |
@@ -47,7 +47,7 @@ public: |
virtual PassRefPtr<CSSValue> cssValue() const { return m_value; } |
CSSImageValue* cssImageValue() const { return m_value->isImageValue() ? toCSSImageValue(m_value) : 0; } |
- CSSImageGeneratorValue* cssImageGeneratorValue() const { return m_value->isImageGeneratorValue() ? static_cast<CSSImageGeneratorValue*>(m_value) : 0; } |
+ CSSImageGeneratorValue* cssImageGeneratorValue() const { return m_value->isImageGeneratorValue() ? toCSSImageGeneratorValue(m_value) : 0; } |
CSSCursorImageValue* cssCursorImageValue() const { return m_value->isCursorImageValue() ? toCSSCursorImageValue(m_value) : 0; } |
CSSImageSetValue* cssImageSetValue() const { return m_value->isImageSetValue() ? toCSSImageSetValue(m_value) : 0; } |