Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index 26e457f31baf2d55418a1b65730240a637142d32..a671327eab9c88d3fce1486644e842d4716b4995 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -151,7 +151,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyCursor(StyleResolverState& stat |
for (int i = 0; i < len; i++) { |
CSSValue* item = list->itemWithoutBoundsCheck(i); |
if (item->isCursorImageValue()) { |
- CSSCursorImageValue* image = static_cast<CSSCursorImageValue*>(item); |
+ CSSCursorImageValue* image = toCSSCursorImageValue(item); |
if (image->updateIfSVGCursorIsUsed(state.element())) // Elements with SVG cursors are not allowed to share style. |
state.style()->setUnique(); |
state.style()->addCursor(state.styleImage(CSSPropertyCursor, image), image->hotSpot()); |