Chromium Code Reviews| Index: Source/core/rendering/RenderObject.cpp |
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
| index cf908bc9ee0cdf220f74e46b988d7af09d74b339..51f619d2c032ab41f59bc1a55919e10a4d783ac6 100644 |
| --- a/Source/core/rendering/RenderObject.cpp |
| +++ b/Source/core/rendering/RenderObject.cpp |
| @@ -3395,6 +3395,10 @@ bool RenderObject::isRelayoutBoundaryForInspector() const |
| void RenderObject::clearPaintInvalidationState() |
| { |
| + // paintInvalidationStateIsDirty should be kept in sync with the |
| + // booleans that are cleared below. |
| + ASSERT(paintInvalidationStateIsDirty()); |
|
dsinclair
2014/07/11 20:48:55
Is this needed? We're basically checking that we n
Julien - ping for review
2014/07/11 20:52:46
It's here for 2 reasons:
- Ensure that clearPaintI
|
| + |
| setShouldDoFullPaintInvalidationAfterLayout(false); |
| setShouldDoFullPaintInvalidationIfSelfPaintingLayer(false); |
| setOnlyNeededPositionedMovementLayout(false); |