Index: Source/core/rendering/style/StylePendingImage.h |
diff --git a/Source/core/rendering/style/StylePendingImage.h b/Source/core/rendering/style/StylePendingImage.h |
index dd5acc70739c6b588147979f73228722c5716cac..e8e8e03faa6d5616a812b0ad4be059761e19397c 100644 |
--- a/Source/core/rendering/style/StylePendingImage.h |
+++ b/Source/core/rendering/style/StylePendingImage.h |
@@ -48,7 +48,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; } |
- CSSCursorImageValue* cssCursorImageValue() const { return m_value->isCursorImageValue() ? static_cast<CSSCursorImageValue*>(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; } |
virtual LayoutSize imageSize(const RenderObject*, float /*multiplier*/) const OVERRIDE { return LayoutSize(); } |