Index: third_party/WebKit/Source/core/layout/line/InlineBox.h |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.h b/third_party/WebKit/Source/core/layout/line/InlineBox.h |
index 40d75eb10c8285bd1c2b218b66830a5e6661d4b4..88648e9a09d37cfe4e6381e9b64862da8738b007 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.h |
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.h |
@@ -234,6 +234,7 @@ public: |
// The logical height is our extent in the block flow direction, i.e., height for horizontal text and width for vertical text. |
LayoutUnit logicalHeight() const; |
+ LayoutSize logicalSize() const { return LayoutSize(m_logicalWidth, logicalHeight()); } |
Stephen Chennney
2016/07/06 14:47:37
I don't think it's worth adding this to InlineBox.
|
LayoutRect logicalFrameRect() const { return isHorizontal() ? LayoutRect(m_topLeft.x(), m_topLeft.y(), m_logicalWidth, logicalHeight()) : LayoutRect(m_topLeft.y(), m_topLeft.x(), m_logicalWidth, logicalHeight()); } |
virtual int baselinePosition(FontBaseline baselineType) const; |