Chromium Code Reviews| Index: Source/core/rendering/RootInlineBox.cpp |
| diff --git a/Source/core/rendering/RootInlineBox.cpp b/Source/core/rendering/RootInlineBox.cpp |
| index 3bcc6fd62bd62739c7a7072201df1d01d85148fe..c7c3536c2a6033fbeb9e0ce288de061d641bebf7 100644 |
| --- a/Source/core/rendering/RootInlineBox.cpp |
| +++ b/Source/core/rendering/RootInlineBox.cpp |
| @@ -249,7 +249,9 @@ LayoutUnit RootInlineBox::alignBoxesInBlockDirection(LayoutUnit heightOfBlock, G |
| maxHeight = max<LayoutUnit>(0, maxHeight); // FIXME: Is this really necessary? |
| setLineTopBottomPositions(lineTop, lineBottom, heightOfBlock, heightOfBlock + maxHeight); |
| - setPaginatedLineWidth(block().availableLogicalWidthForContent()); |
| + bool paginated = block().view()->layoutState()->isPaginated(); |
|
mstensho (USE GERRIT)
2014/03/28 09:49:21
The 'paginated' variable seems rather unnecessary,
Daniel Bratell
2014/03/31 15:29:40
Done.
|
| + if (paginated) |
| + setPaginatedLineWidth(block().availableLogicalWidthForContent()); |
| LayoutUnit annotationsAdjustment = beforeAnnotationsAdjustment(); |
| if (annotationsAdjustment) { |