Index: Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
diff --git a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
index e5608f657b12dc899683182dff54201c84e6b6e6..2a8ad0551d0a5c3bd95186e767c029658669ae95 100644 |
--- a/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
+++ b/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp |
@@ -175,9 +175,9 @@ static LayoutUnit contentHeightForChild(LayoutBox* child) |
return child->logicalHeight() - child->borderAndPaddingLogicalHeight(); |
} |
-void LayoutDeprecatedFlexibleBox::styleWillChange(StyleDifference diff, const LayoutStyle& newStyle) |
+void LayoutDeprecatedFlexibleBox::styleWillChange(StyleDifference diff, const ComputedStyle& newStyle) |
{ |
- const LayoutStyle* oldStyle = style(); |
+ const ComputedStyle* oldStyle = style(); |
if (oldStyle && !oldStyle->lineClamp().isNone() && newStyle.lineClamp().isNone()) |
clearLineClamp(); |