| Index: third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| index fa86b988f4cf43a6f956574323cbeede92209353..f4f03f0d8391e071a917159bc1499b6b5d7abc7b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
| @@ -455,8 +455,8 @@ static void writeTextRun(TextStream& ts, const LayoutText& o, const InlineTextBo
|
| {
|
| // FIXME: For now use an "enclosingIntRect" model for x, y and logicalWidth, although this makes it harder
|
| // to detect any changes caused by the conversion to floating point. :(
|
| - int x = run.x();
|
| - int y = run.y();
|
| + int x = run.x().toInt();
|
| + int y = run.y().toInt();
|
| int logicalWidth = (run.left() + run.logicalWidth()).ceil() - x;
|
|
|
| // FIXME: Table cell adjustment is temporary until results can be updated.
|
|
|