Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.h |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h |
index 0589ef350c6bcf34c097bb0e2c750d4ebca93750..3c657572fc7ad4fa1485da06903b32a61a9e1cc7 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h |
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h |
@@ -356,8 +356,8 @@ class InlineFlowBox : public InlineBox { |
LayoutRect frameRectIncludingLineHeight(LayoutUnit lineTop, |
LayoutUnit lineBottom) const { |
if (isHorizontal()) |
- return LayoutRect(m_topLeft.x(), lineTop, width(), lineBottom - lineTop); |
- return LayoutRect(lineTop, m_topLeft.y(), lineBottom - lineTop, height()); |
+ return LayoutRect(x(), lineTop, logicalWidth(), lineBottom - lineTop); |
+ return LayoutRect(lineTop, y(), lineBottom - lineTop, logicalWidth()); |
} |
LayoutRect logicalFrameRectIncludingLineHeight(LayoutUnit lineTop, |