| Index: sky/engine/core/rendering/RootInlineBox.h
|
| diff --git a/sky/engine/core/rendering/RootInlineBox.h b/sky/engine/core/rendering/RootInlineBox.h
|
| index 4b8316a503df12e495bd07f22ddd04dd0e7cde31..6bcbe61c94879f22cd1d8aba10cfab8015b7661a 100644
|
| --- a/sky/engine/core/rendering/RootInlineBox.h
|
| +++ b/sky/engine/core/rendering/RootInlineBox.h
|
| @@ -54,9 +54,6 @@ public:
|
| LayoutUnit lineTopWithLeading() const { return m_lineTopWithLeading; }
|
| LayoutUnit lineBottomWithLeading() const { return m_lineBottomWithLeading; }
|
|
|
| - LayoutUnit paginatedLineWidth() const { return m_fragmentationData ? m_fragmentationData->m_paginatedLineWidth : LayoutUnit(0); }
|
| - void setPaginatedLineWidth(LayoutUnit width) { ensureLineFragmentationData()->m_paginatedLineWidth = width; }
|
| -
|
| LayoutUnit selectionTop() const;
|
| LayoutUnit selectionBottom() const;
|
| LayoutUnit selectionHeight() const { return max<LayoutUnit>(0, selectionBottom() - selectionTop()); }
|
| @@ -172,15 +169,6 @@ public:
|
| private:
|
| LayoutUnit beforeAnnotationsAdjustment() const;
|
|
|
| - struct LineFragmentationData;
|
| - LineFragmentationData* ensureLineFragmentationData()
|
| - {
|
| - if (!m_fragmentationData)
|
| - m_fragmentationData = adoptPtr(new LineFragmentationData());
|
| -
|
| - return m_fragmentationData.get();
|
| - }
|
| -
|
| // This folds into the padding at the end of InlineFlowBox on 64-bit.
|
| unsigned m_lineBreakPos;
|
|
|
| @@ -189,20 +177,6 @@ private:
|
| RenderObject* m_lineBreakObj;
|
| RefPtr<BidiContext> m_lineBreakContext;
|
|
|
| - struct LineFragmentationData {
|
| - WTF_MAKE_NONCOPYABLE(LineFragmentationData); WTF_MAKE_FAST_ALLOCATED;
|
| - public:
|
| - LineFragmentationData()
|
| - : m_paginatedLineWidth(0)
|
| - {
|
| -
|
| - }
|
| -
|
| - LayoutUnit m_paginatedLineWidth;
|
| - };
|
| -
|
| - OwnPtr<LineFragmentationData> m_fragmentationData;
|
| -
|
| LayoutUnit m_lineTop;
|
| LayoutUnit m_lineBottom;
|
| LayoutUnit m_lineTopWithLeading;
|
|
|