Index: trunk/Source/core/layout/LayoutMedia.cpp |
=================================================================== |
--- trunk/Source/core/layout/LayoutMedia.cpp (revision 190671) |
+++ trunk/Source/core/layout/LayoutMedia.cpp (working copy) |
@@ -65,8 +65,8 @@ |
LayoutState state(*this, locationOffset()); |
controlsRenderer->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), paddingTop())); |
- controlsRenderer->mutableStyleRef().setHeight(Length(newSize.height(), Fixed)); |
- controlsRenderer->mutableStyleRef().setWidth(Length(newSize.width(), Fixed)); |
+ controlsRenderer->style()->setHeight(Length(newSize.height(), Fixed)); |
+ controlsRenderer->style()->setWidth(Length(newSize.width(), Fixed)); |
controlsRenderer->forceLayout(); |
clearNeedsLayout(); |
} |