| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index 4fb18ae38445fed58ec5701636c9a413af8f1000..bb94740f4847ddfbe12d55cb44c1d5f3d57e29af 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -6066,11 +6066,10 @@ void RenderBlock::computeInlinePreferredLogicalWidths(LayoutUnit& minLogicalWidt
|
| }
|
|
|
| // Add in text-indent. This is added in only once.
|
| - LayoutUnit ti = 0;
|
| if (!addedTextIndent && !child->isFloating()) {
|
| - ti = textIndent;
|
| - childMin += ti.ceilToFloat();
|
| - childMax += ti.ceilToFloat();
|
| + float ceiledTextIndent = textIndent.ceilToFloat();
|
| + childMin += ceiledTextIndent;
|
| + childMax += ceiledTextIndent;
|
|
|
| if (childMin < 0)
|
| textIndent = adjustFloatForSubPixelLayout(childMin);
|
|
|