Index: Source/core/layout/LayoutSlider.cpp |
diff --git a/Source/core/layout/LayoutSlider.cpp b/Source/core/layout/LayoutSlider.cpp |
index dc7b247791c922bb340ddf5b5e6bbf0b07fcb94d..4326a85e7e5916077d4b05330f813cbea7f00beb 100644 |
--- a/Source/core/layout/LayoutSlider.cpp |
+++ b/Source/core/layout/LayoutSlider.cpp |
@@ -62,7 +62,7 @@ void LayoutSlider::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, La |
inline SliderThumbElement* LayoutSlider::sliderThumbElement() const |
{ |
- return toSliderThumbElement(toElement(node())->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb())); |
+ return toSliderThumbElement(toElement(node())->closedShadowRoot()->getElementById(ShadowElementNames::sliderThumb())); |
} |
void LayoutSlider::layout() |