| Index: Source/core/layout/line/LineInfo.h
|
| diff --git a/Source/core/layout/line/LineInfo.h b/Source/core/layout/line/LineInfo.h
|
| index 42055a548b6ee4c74854f955f9b5db4e04910f14..8165d780565786068869d3e6eb8b2d0be9053f55 100644
|
| --- a/Source/core/layout/line/LineInfo.h
|
| +++ b/Source/core/layout/line/LineInfo.h
|
| @@ -24,7 +24,7 @@
|
| #ifndef LineInfo_h
|
| #define LineInfo_h
|
|
|
| -#include "core/layout/LayoutBlock.h"
|
| +#include "core/layout/api/LineLayoutBlockFlow.h"
|
| #include "core/layout/line/LineWidth.h"
|
|
|
| namespace blink {
|
| @@ -51,13 +51,13 @@ public:
|
|
|
| void setFirstLine(bool firstLine) { m_isFirstLine = firstLine; }
|
| void setLastLine(bool lastLine) { m_isLastLine = lastLine; }
|
| - void setEmpty(bool empty, LayoutBlock* block = 0, LineWidth* lineWidth = 0)
|
| + void setEmpty(bool empty, LineLayoutBlockFlow block = LineLayoutBlockFlow(), LineWidth* lineWidth = 0)
|
| {
|
| if (m_isEmpty == empty)
|
| return;
|
| m_isEmpty = empty;
|
| if (!empty && block && floatPaginationStrut()) {
|
| - block->setLogicalHeight(block->logicalHeight() + floatPaginationStrut());
|
| + block.setLogicalHeight(block.logicalHeight() + floatPaginationStrut());
|
| setFloatPaginationStrut(0);
|
| lineWidth->updateAvailableWidth();
|
| }
|
|
|