| 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 2a9e559b75c06b9e8d90e1e7a91988d742f2d7eb..c5f9ee53010ac530f63d91cca8c512828b4a5f21 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| @@ -57,6 +57,7 @@ public:
|
| , m_overrideLogicalContentHeight(-1)
|
| , m_overrideLogicalContentWidth(-1)
|
| , m_previousBorderBoxSize(-1, -1)
|
| + , m_percentHeightContainer(nullptr)
|
| {
|
| }
|
|
|
| @@ -74,6 +75,8 @@ public:
|
| LayoutUnit m_pageLogicalOffset;
|
|
|
| LayoutUnit m_paginationStrut;
|
| +
|
| + LayoutBlock* m_percentHeightContainer;
|
| };
|
|
|
| // LayoutBox implements the full CSS box model.
|
| @@ -868,6 +871,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;
|
|
|
|
|