| Index: third_party/WebKit/Source/core/layout/line/LineLayoutState.h
|
| diff --git a/third_party/WebKit/Source/core/layout/line/LineLayoutState.h b/third_party/WebKit/Source/core/layout/line/LineLayoutState.h
|
| index 8fab748b6fe5551d44a9d74e49ddd61b4be6e9de..efede63e3bb503c73155ef2f1efc300feefb9432 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/LineLayoutState.h
|
| +++ b/third_party/WebKit/Source/core/layout/line/LineLayoutState.h
|
| @@ -44,11 +44,19 @@ class LineLayoutState {
|
| m_floatIndex(0),
|
| m_endLineMatched(false),
|
| m_hasInlineChild(false),
|
| - m_isFullLayout(fullLayout) {}
|
| + m_isFullLayout(fullLayout),
|
| + m_needsPaginationStrutRecalculation(false) {}
|
|
|
| void markForFullLayout() { m_isFullLayout = true; }
|
| bool isFullLayout() const { return m_isFullLayout; }
|
|
|
| + bool needsPaginationStrutRecalculation() const {
|
| + return m_needsPaginationStrutRecalculation || isFullLayout();
|
| + }
|
| + void setNeedsPaginationStrutRecalculation() {
|
| + m_needsPaginationStrutRecalculation = true;
|
| + }
|
| +
|
| bool endLineMatched() const { return m_endLineMatched; }
|
| void setEndLineMatched(bool endLineMatched) {
|
| m_endLineMatched = endLineMatched;
|
| @@ -97,6 +105,8 @@ class LineLayoutState {
|
|
|
| bool m_isFullLayout;
|
|
|
| + bool m_needsPaginationStrutRecalculation;
|
| +
|
| LayoutUnit m_adjustedLogicalLineTop;
|
| };
|
|
|
|
|