| Index: Source/core/layout/LayoutTreeAsText.cpp
|
| diff --git a/Source/core/layout/LayoutTreeAsText.cpp b/Source/core/layout/LayoutTreeAsText.cpp
|
| index b5a2d739b448e67ab5c2627039c72e48e3c7c3ee..8dc7c93b5ae6a51a6900a890fdca7c108dc7b303 100644
|
| --- a/Source/core/layout/LayoutTreeAsText.cpp
|
| +++ b/Source/core/layout/LayoutTreeAsText.cpp
|
| @@ -410,7 +410,7 @@ static void writeTextRun(TextStream& ts, const LayoutText& o, const InlineTextBo
|
| // to detect any changes caused by the conversion to floating point. :(
|
| int x = run.x();
|
| int y = run.y();
|
| - int logicalWidth = ceilf(run.left() + run.logicalWidth()) - x;
|
| + int logicalWidth = (run.left() + run.logicalWidth()).ceil() - x;
|
|
|
| // FIXME: Table cell adjustment is temporary until results can be updated.
|
| if (o.containingBlock()->isTableCell())
|
|
|