Index: Source/core/rendering/RenderDeprecatedFlexibleBox.cpp |
diff --git a/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp b/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp |
index 6c3d24c247ba4e37398601813756f3f6cd52ed9a..f311606c1b4a3db13d2e4d699d196392067217ae 100644 |
--- a/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp |
+++ b/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp |
@@ -176,7 +176,7 @@ static LayoutUnit contentHeightForChild(RenderBox* child) |
void RenderDeprecatedFlexibleBox::styleWillChange(StyleDifference diff, const LayoutStyle& newStyle) |
{ |
- LayoutStyle* oldStyle = style(); |
+ const LayoutStyle* oldStyle = style(); |
if (oldStyle && !oldStyle->lineClamp().isNone() && newStyle.lineClamp().isNone()) |
clearLineClamp(); |