Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h |
| index 905efe65d465dee8119197dc754cca831a0d28d5..4c33fdcd9bd8ac067b7e7a813f19b95073513e57 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h |
| +++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h |
| @@ -200,6 +200,9 @@ private: |
| mutable OrderIterator m_orderIterator; |
| int m_numberOfInFlowChildrenOnFirstLine; |
| + |
| + // This is set to 0/1 during layout and -1 otherwise. |
| + int m_hasDefiniteHeight = -1; |
|
eae
2016/07/06 23:06:09
Use an enum for this. You might also want to pack
|
| }; |
| DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); |