| Index: Source/core/rendering/shapes/ShapeInsideInfo.cpp
|
| diff --git a/Source/core/rendering/shapes/ShapeInsideInfo.cpp b/Source/core/rendering/shapes/ShapeInsideInfo.cpp
|
| index 5f7d9c7c06b48aa7b7bd24efbdea668115c63929..7a077b21764df2551d84bbf8843c7864f68e1b4e 100644
|
| --- a/Source/core/rendering/shapes/ShapeInsideInfo.cpp
|
| +++ b/Source/core/rendering/shapes/ShapeInsideInfo.cpp
|
| @@ -92,7 +92,7 @@ bool ShapeInsideInfo::adjustLogicalLineTop(float minSegmentWidth)
|
| return false;
|
|
|
| LayoutUnit newLineTop;
|
| - if (shape->firstIncludedIntervalLogicalTop(m_shapeLineTop, LayoutSize(minSegmentWidth, m_lineHeight), newLineTop)) {
|
| + if (shape->firstIncludedIntervalLogicalTop(m_shapeLineTop, FloatSize(minSegmentWidth, m_lineHeight), newLineTop)) {
|
| if (newLineTop > m_shapeLineTop) {
|
| m_shapeLineTop = newLineTop;
|
| return true;
|
| @@ -107,7 +107,7 @@ ShapeValue* ShapeInsideInfo::shapeValue() const
|
| return m_renderer->style()->resolvedShapeInside();
|
| }
|
|
|
| -LayoutUnit ShapeInsideInfo::computeFirstFitPositionForFloat(const LayoutSize floatSize) const
|
| +LayoutUnit ShapeInsideInfo::computeFirstFitPositionForFloat(const FloatSize floatSize) const
|
| {
|
| if (!computedShape() || !floatSize.width() || shapeLogicalBottom() < logicalLineTop())
|
| return 0;
|
|
|