| Index: Source/core/layout/LayoutView.cpp
|
| diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp
|
| index 02bd0e871c1e4eca0e1724e31eb3e5b0f5764760..74895d6bdecc84c0739b5f29141be9c3f8d09a0d 100644
|
| --- a/Source/core/layout/LayoutView.cpp
|
| +++ b/Source/core/layout/LayoutView.cpp
|
| @@ -383,6 +383,19 @@ void LayoutView::invalidateTreeIfNeeded(PaintInvalidationState& paintInvalidatio
|
| LayoutBlock::invalidateTreeIfNeeded(paintInvalidationState);
|
| }
|
|
|
| +static void setShouldDoFullPaintInvalidationForViewAndAllDescendantsInternal(LayoutObject* object)
|
| +{
|
| + object->setShouldDoFullPaintInvalidation();
|
| + for (LayoutObject* child = object->slowFirstChild(); child; child = child->nextSibling()) {
|
| + setShouldDoFullPaintInvalidationForViewAndAllDescendantsInternal(child);
|
| + }
|
| +}
|
| +
|
| +void LayoutView::setShouldDoFullPaintInvalidationForViewAndAllDescendants()
|
| +{
|
| + setShouldDoFullPaintInvalidationForViewAndAllDescendantsInternal(this);
|
| +}
|
| +
|
| void LayoutView::invalidatePaintForRectangle(const LayoutRect& paintInvalidationRect, PaintInvalidationReason invalidationReason) const
|
| {
|
| ASSERT(!paintInvalidationRect.isEmpty());
|
|
|