| Index: Source/core/rendering/RenderTheme.cpp
|
| diff --git a/Source/core/rendering/RenderTheme.cpp b/Source/core/rendering/RenderTheme.cpp
|
| index 5c729aedc2032322e09227d393df7f35c493127f..b150048a564f303cdd7ad83b48a5835f45ed66cc 100644
|
| --- a/Source/core/rendering/RenderTheme.cpp
|
| +++ b/Source/core/rendering/RenderTheme.cpp
|
| @@ -875,8 +875,6 @@ void RenderTheme::paintSliderTicks(RenderObject* o, const PaintInfo& paintInfo,
|
| tickRegionWidth = trackBounds.height() - thumbSize.width();
|
| }
|
| RefPtrWillBeRawPtr<HTMLDataListOptionsCollection> options = dataList->options();
|
| - GraphicsContextStateSaver stateSaver(*paintInfo.context);
|
| - paintInfo.context->setFillColor(o->resolveColor(CSSPropertyColor));
|
| for (unsigned i = 0; HTMLOptionElement* optionElement = options->item(i); i++) {
|
| String value = optionElement->value();
|
| if (!input->isValidValue(value))
|
| @@ -889,7 +887,7 @@ void RenderTheme::paintSliderTicks(RenderObject* o, const PaintInfo& paintInfo,
|
| tickRect.setX(tickPosition);
|
| else
|
| tickRect.setY(tickPosition);
|
| - paintInfo.context->fillRect(tickRect);
|
| + paintInfo.context->fillRect(tickRect, o->resolveColor(CSSPropertyColor));
|
| }
|
| }
|
|
|
|
|