| Index: third_party/WebKit/Source/core/layout/LayoutBox.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| index bd087709e45c582a41b32429ae6c3a19ee036c30..46191cd1de3b5867293a2ff777abdb79a50787c7 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| @@ -58,6 +58,7 @@ public:
|
| , m_overrideLogicalContentHeight(-1)
|
| , m_overrideLogicalContentWidth(-1)
|
| , m_previousBorderBoxSize(-1, -1)
|
| + , m_percentHeightContainer(nullptr)
|
| {
|
| }
|
|
|
| @@ -78,6 +79,8 @@ public:
|
| LayoutUnit m_pageLogicalOffset;
|
|
|
| LayoutUnit m_paginationStrut;
|
| +
|
| + LayoutBlock* m_percentHeightContainer;
|
| };
|
|
|
| // LayoutBox implements the full CSS box model.
|
| @@ -849,6 +852,11 @@ public:
|
|
|
| void clearPreviousPaintInvalidationRects() override;
|
|
|
| + LayoutBlock* percentHeightContainer() const { return m_rareData ? m_rareData->m_percentHeightContainer : nullptr; }
|
| + void setPercentHeightContainer(LayoutBlock*);
|
| + void removeFromPercentHeightContainer();
|
| + void clearPercentHeightDescendants();
|
| +
|
| protected:
|
| void willBeDestroyed() override;
|
|
|
|
|