Index: Source/modules/accessibility/AXSlider.cpp |
diff --git a/Source/modules/accessibility/AXSlider.cpp b/Source/modules/accessibility/AXSlider.cpp |
index 533071d1b8ba1f3c7092cffcaf97d97f213291f8..d2c688ab7d8d3e755c232592f2eec516366433dc 100644 |
--- a/Source/modules/accessibility/AXSlider.cpp |
+++ b/Source/modules/accessibility/AXSlider.cpp |
@@ -145,7 +145,7 @@ LayoutRect AXSliderThumb::elementRect() const |
if (!m_parent) |
return LayoutRect(); |
- LayoutObject* sliderLayoutObject = m_parent->renderer(); |
+ LayoutObject* sliderLayoutObject = m_parent->layoutObject(); |
if (!sliderLayoutObject || !sliderLayoutObject->isSlider()) |
return LayoutRect(); |
return toElement(sliderLayoutObject->node())->closedShadowRoot()->getElementById(ShadowElementNames::sliderThumb())->boundingBox(); |