Index: Source/core/rendering/RootInlineBox.cpp |
diff --git a/Source/core/rendering/RootInlineBox.cpp b/Source/core/rendering/RootInlineBox.cpp |
index 412bbbef7db6bc8c2455d3bbde95624c4e22564a..b361819f21e6f4c541c8a93fea41aed5423be006 100644 |
--- a/Source/core/rendering/RootInlineBox.cpp |
+++ b/Source/core/rendering/RootInlineBox.cpp |
@@ -40,7 +40,7 @@ namespace blink { |
struct SameSizeAsRootInlineBox : public InlineFlowBox { |
unsigned unsignedVariable; |
void* pointers[3]; |
- LayoutUnit layoutVariables[7]; |
+ LayoutUnit layoutVariables[6]; |
}; |
COMPILE_ASSERT(sizeof(RootInlineBox) == sizeof(SameSizeAsRootInlineBox), RootInlineBox_should_stay_small); |
@@ -58,7 +58,6 @@ RootInlineBox::RootInlineBox(RenderBlockFlow& block) |
, m_lineBottomWithLeading(0) |
, m_selectionBottom(0) |
, m_paginationStrut(0) |
- , m_paginatedLineWidth(0) |
{ |
setIsHorizontal(block.isHorizontalWritingMode()); |
} |
@@ -235,8 +234,6 @@ LayoutUnit RootInlineBox::alignBoxesInBlockDirection(LayoutUnit heightOfBlock, G |
maxHeight = std::max<LayoutUnit>(0, maxHeight); // FIXME: Is this really necessary? |
setLineTopBottomPositions(lineTop, lineBottom, heightOfBlock, heightOfBlock + maxHeight, selectionBottom); |
- if (block().view()->layoutState()->isPaginated()) |
- setPaginatedLineWidth(block().availableLogicalWidthForContent()); |
LayoutUnit annotationsAdjustment = beforeAnnotationsAdjustment(); |
if (annotationsAdjustment) { |