Index: trunk/Source/core/layout/LayoutTextControl.cpp |
=================================================================== |
--- trunk/Source/core/layout/LayoutTextControl.cpp (revision 190671) |
+++ trunk/Source/core/layout/LayoutTextControl.cpp (working copy) |
@@ -72,8 +72,8 @@ |
if (innerEditorRenderer) { |
// We may have set the width and the height in the old style in layout(). |
// Reset them now to avoid getting a spurious layout hint. |
- innerEditorRenderer->mutableStyle()->setHeight(Length()); |
- innerEditorRenderer->mutableStyle()->setWidth(Length()); |
+ innerEditorRenderer->style()->setHeight(Length()); |
+ innerEditorRenderer->style()->setWidth(Length()); |
innerEditorRenderer->setStyle(createInnerEditorStyle(styleRef())); |
innerEditor->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Control)); |
} |