Index: Source/core/rendering/RenderSlider.cpp |
diff --git a/Source/core/rendering/RenderSlider.cpp b/Source/core/rendering/RenderSlider.cpp |
index 1ed4a116fd9cc9f2f7a948d84d147d11f2f9c696..56143293e8a05134bb79272a71d3dfc3bdad9afb 100644 |
--- a/Source/core/rendering/RenderSlider.cpp |
+++ b/Source/core/rendering/RenderSlider.cpp |
@@ -99,7 +99,7 @@ void RenderSlider::layout() |
// http://webkit.org/b/62535 |
RenderBox* thumbBox = sliderThumbElement()->renderBox(); |
if (thumbBox && thumbBox->isSliderThumb()) |
- static_cast<RenderSliderThumb*>(thumbBox)->updateAppearance(style()); |
+ toRenderSliderThumb(thumbBox)->updateAppearance(style()); |
RenderFlexibleBox::layout(); |
} |