Chromium Code Reviews| Index: Source/core/layout/line/LineLayoutState.h |
| diff --git a/Source/core/layout/line/LineLayoutState.h b/Source/core/layout/line/LineLayoutState.h |
| index 87b885748ce0b43811c600f2e9efc3c6e3424360..36e9135715166ce38558c3a779abd4379266c50f 100644 |
| --- a/Source/core/layout/line/LineLayoutState.h |
| +++ b/Source/core/layout/line/LineLayoutState.h |
| @@ -42,6 +42,7 @@ public: |
| , m_checkForFloatsFromLastLine(false) |
| , m_hasInlineChild(false) |
| , m_isFullLayout(fullLayout) |
| + , m_containsClearBR(false) |
| , m_paintInvalidationLogicalTop(paintInvalidationLogicalTop) |
| , m_paintInvalidationLogicalBottom(paintInvalidationLogicalBottom) |
| , m_adjustedLogicalLineTop(0) |
| @@ -76,6 +77,9 @@ public: |
| bool hasInlineChild() const { return m_hasInlineChild; } |
| void setHasInlineChild(bool hasInlineChild) { m_hasInlineChild = hasInlineChild; } |
| + bool containsClearBR() const { return m_containsClearBR; } |
|
leviw_travelin_and_unemployed
2015/05/11 00:25:29
Nit: I'd call this "containsBRWithClear" or "conta
changseok
2015/05/11 15:56:46
containsBRWithClear sounds good to me. =)
|
| + void setContainsClearBR(bool containsBR) { m_containsClearBR = containsBR; } |
| + |
| LineInfo& lineInfo() { return m_lineInfo; } |
| const LineInfo& lineInfo() const { return m_lineInfo; } |
| @@ -114,6 +118,8 @@ private: |
| bool m_isFullLayout; |
| + bool m_containsClearBR; |
| + |
| // FIXME: Should this be a range object instead of two ints? |
| LayoutUnit& m_paintInvalidationLogicalTop; |
| LayoutUnit& m_paintInvalidationLogicalBottom; |