Index: trunk/Source/core/layout/LayoutSliderContainer.cpp |
=================================================================== |
--- trunk/Source/core/layout/LayoutSliderContainer.cpp (revision 190671) |
+++ trunk/Source/core/layout/LayoutSliderContainer.cpp (working copy) |
@@ -100,13 +100,13 @@ |
{ |
HTMLInputElement* input = toHTMLInputElement(node()->shadowHost()); |
bool isVertical = hasVerticalAppearance(input); |
- mutableStyleRef().setFlexDirection(isVertical ? FlowColumn : FlowRow); |
+ style()->setFlexDirection(isVertical ? FlowColumn : FlowRow); |
TextDirection oldTextDirection = style()->direction(); |
if (isVertical) { |
// FIXME: Work around rounding issues in RTL vertical sliders. We want them to |
// render identically to LTR vertical sliders. We can remove this work around when |
// subpixel rendering is enabled on all ports. |
- mutableStyleRef().setDirection(LTR); |
+ style()->setDirection(LTR); |
} |
Element* thumbElement = input->closedShadowRoot()->getElementById(ShadowElementNames::sliderThumb()); |
@@ -122,7 +122,7 @@ |
RenderFlexibleBox::layout(); |
- mutableStyleRef().setDirection(oldTextDirection); |
+ style()->setDirection(oldTextDirection); |
// These should always exist, unless someone mutates the shadow DOM (e.g., in the inspector). |
if (!thumb || !track) |
return; |