Chromium Code Reviews| Index: Source/core/rendering/RenderObject.h |
| diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
| index 7ffb86cf19aca82d227df40ec668be67628ae97a..b823658e4b374e07241804260ea978e6831c4e46 100644 |
| --- a/Source/core/rendering/RenderObject.h |
| +++ b/Source/core/rendering/RenderObject.h |
| @@ -527,6 +527,8 @@ public: |
| bool hasBackground() const { return style()->hasBackground(); } |
| bool hasEntirelyFixedBackground() const; |
| + bool needsLayoutBecauseOfChildren() const { return needsLayout() && !selfNeedsLayout() && !needsPositionedMovementLayout() && !needsSimplifiedNormalFlowLayout(); } |
|
eseidel
2014/03/21 00:37:09
Why the needsLayout() check? Doesn't that just ch
Julien - ping for review
2014/03/24 18:00:01
The logic is fine AFAICT. This is similar to needs
|
| + |
| bool needsLayout() const |
| { |
| return m_bitfields.selfNeedsLayout() || m_bitfields.normalChildNeedsLayout() || m_bitfields.posChildNeedsLayout() |