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 e022e8a84501f01afb4ba306a574abc37eb805cd..9c81ced36c501b6519ad5a6e46cc37e97a742721 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
@@ -439,7 +439,7 @@ static void writeTextRun(TextStream& ts, |
// conversion to floating point. :( |
int x = run.x().toInt(); |
int y = run.y().toInt(); |
- int logicalWidth = (run.left() + run.logicalWidth()).ceil() - x; |
+ int logicalWidth = (run.x() + run.logicalWidth()).ceil() - x; |
// FIXME: Table cell adjustment is temporary until results can be updated. |
if (o.containingBlock()->isTableCell()) |