| Index: Source/core/html/forms/RangeInputType.cpp
|
| diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
|
| index 54649a43de8a2013f2a4c12a66576c8a32208c12..01d451e0808ae383b386ea494fc872c6b0a22f8c 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)
|
|
|