You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
982 B
13 lines
982 B
diff --git a/Source/WebCore/rendering/RenderThemeGtk.cpp b/Source/WebCore/rendering/RenderThemeGtk.cpp |
|
index d04a6845f26..8e8fe10f58e 100644 |
|
--- a/Source/WebCore/rendering/RenderThemeGtk.cpp |
|
+++ b/Source/WebCore/rendering/RenderThemeGtk.cpp |
|
@@ -1314,7 +1314,7 @@ void RenderThemeGtk::adjustSliderThumbSize(RenderStyle& style, const Element*) c |
|
if (part != SliderThumbHorizontalPart && part != SliderThumbVerticalPart) |
|
return; |
|
|
|
- auto& sliderWidget = static_cast<RenderThemeSlider&>(RenderThemeWidget::getOrCreate(part == SliderHorizontalPart ? RenderThemeWidget::Type::HorizontalSlider : RenderThemeWidget::Type::VerticalSlider)); |
|
+ auto& sliderWidget = static_cast<RenderThemeSlider&>(RenderThemeWidget::getOrCreate(part == SliderThumbHorizontalPart ? RenderThemeWidget::Type::HorizontalSlider : RenderThemeWidget::Type::VerticalSlider)); |
|
sliderWidget.scale().setState(GTK_STATE_FLAG_NORMAL); |
|
sliderWidget.trough().setState(GTK_STATE_FLAG_NORMAL); |
|
|
|
|