| Index: Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp
|
| diff --git a/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp b/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp
|
| index f20265f2c0f52f73112d69eb728e88c82188a099..9f681d598ea4634e25b794b52dc19e6a75276bcc 100644
|
| --- a/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp
|
| +++ b/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp
|
| @@ -53,9 +53,8 @@ bool ExclusionShapeInsideInfo::adjustLogicalLineTop(float minSegmentWidth)
|
| if (!shape || m_lineHeight <= 0 || logicalLineTop() > shapeLogicalBottom())
|
| return false;
|
|
|
| - float floatNewLineTop;
|
| - if (shape->firstIncludedIntervalLogicalTop(m_shapeLineTop, FloatSize(minSegmentWidth, m_lineHeight), floatNewLineTop)) {
|
| - LayoutUnit newLineTop = floatLogicalTopToLayoutUnit(floatNewLineTop);
|
| + LayoutUnit newLineTop;
|
| + if (shape->firstIncludedIntervalLogicalTop(m_shapeLineTop, LayoutSize(minSegmentWidth, m_lineHeight), newLineTop)) {
|
| if (newLineTop > m_shapeLineTop) {
|
| m_shapeLineTop = newLineTop;
|
| return true;
|
|
|