Index: Source/core/html/forms/RangeInputType.cpp |
diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp |
index ead8bae75de4f70f15e43cfc4f4354639f1fb9f7..aa5a3a53da287a8aca5e6bfdca2d7cdf0f6ca7d5 100644 |
--- a/Source/core/html/forms/RangeInputType.cpp |
+++ b/Source/core/html/forms/RangeInputType.cpp |
@@ -191,8 +191,8 @@ void RangeInputType::handleKeydownEvent(KeyboardEvent* event) |
const Decimal bigStep = std::max((stepRange.maximum() - stepRange.minimum()) / 10, step); |
bool isVertical = false; |
- if (element().renderer()) { |
- ControlPart part = element().renderer()->style()->appearance(); |
+ if (element().layoutObject()) { |
+ ControlPart part = element().layoutObject()->style()->appearance(); |
isVertical = part == SliderVerticalPart; |
} |
@@ -326,8 +326,8 @@ void RangeInputType::listAttributeTargetChanged() |
{ |
m_tickMarkValuesDirty = true; |
Element* sliderTrackElement = this->sliderTrackElement(); |
- if (sliderTrackElement->renderer()) |
- sliderTrackElement->renderer()->setNeedsLayoutAndFullPaintInvalidation(); |
+ if (sliderTrackElement->layoutObject()) |
+ sliderTrackElement->layoutObject()->setNeedsLayoutAndFullPaintInvalidation(); |
} |
static bool decimalCompare(const Decimal& a, const Decimal& b) |