| Index: Source/core/rendering/RenderObject.h
|
| diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
|
| index cf910142502c206d5964d00ee4762736be8361c7..9376e7198d808796638a1027ce44cb6a4d92d466 100644
|
| --- a/Source/core/rendering/RenderObject.h
|
| +++ b/Source/core/rendering/RenderObject.h
|
| @@ -865,6 +865,11 @@ public:
|
| // Walk the tree after layout issuing paint invalidations for renderers that have changed or moved, updating bounds that have changed, and clearing paint invalidation state.
|
| virtual void invalidateTreeIfNeeded(const PaintInvalidationState&);
|
|
|
| + // For now RenderBoxes and RenderSVGModelObjects know how to invalidate themselves in invalidateTreeIfNeeded.
|
| + // Other objects (e.g. RenderText, RenderInline, etc) depend on their containers for invalidation.
|
| + // crbug.com/394133.
|
| + bool canSelfInvalidateDuringTreeInvalidation() const { return isBox() || isSVG(); }
|
| +
|
| virtual void invalidatePaintForOverflow();
|
| void invalidatePaintForOverflowIfNeeded();
|
|
|
|
|