Index: Source/core/layout/LayoutTheme.cpp |
diff --git a/Source/core/layout/LayoutTheme.cpp b/Source/core/layout/LayoutTheme.cpp |
index bae0de4d04d0a6b6f712eb3dc14c0b256bf254b1..a1ce01609faba9f6f9477d45d02909e1541ac53d 100644 |
--- a/Source/core/layout/LayoutTheme.cpp |
+++ b/Source/core/layout/LayoutTheme.cpp |
@@ -823,7 +823,7 @@ void LayoutTheme::paintSliderTicks(LayoutObject* o, const PaintInfo& paintInfo, |
bool isHorizontal = part == SliderHorizontalPart; |
IntSize thumbSize; |
- LayoutObject* thumbRenderer = input->closedShadowRoot()->getElementById(ShadowElementNames::sliderThumb())->renderer(); |
+ LayoutObject* thumbRenderer = input->closedShadowRoot()->getElementById(ShadowElementNames::sliderThumb())->layoutObject(); |
if (thumbRenderer) { |
const LayoutStyle& thumbStyle = thumbRenderer->styleRef(); |
int thumbWidth = thumbStyle.width().intValue(); |
@@ -838,7 +838,7 @@ void LayoutTheme::paintSliderTicks(LayoutObject* o, const PaintInfo& paintInfo, |
int tickRegionSideMargin = 0; |
int tickRegionWidth = 0; |
IntRect trackBounds; |
- LayoutObject* trackRenderer = input->closedShadowRoot()->getElementById(ShadowElementNames::sliderTrack())->renderer(); |
+ LayoutObject* trackRenderer = input->closedShadowRoot()->getElementById(ShadowElementNames::sliderTrack())->layoutObject(); |
// We can ignoring transforms because transform is handled by the graphics context. |
if (trackRenderer) |
trackBounds = trackRenderer->absoluteBoundingBoxRectIgnoringTransforms(); |