Index: Source/core/layout/LayoutObject.h |
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h |
index 0016985018871787d51752c3841b26f750312a41..a8c827dd18286c5b62e54c88779f5d32d6c804fe 100644 |
--- a/Source/core/layout/LayoutObject.h |
+++ b/Source/core/layout/LayoutObject.h |
@@ -1080,7 +1080,7 @@ public: |
// Should check for paint invalidation if some ancestor changed location, because this object |
// may also change paint offset or location in paint invalidation container, even if there is |
// no paint invalidation flag set. |
- return paintInvalidationState.ancestorHadPaintInvalidationForLocationChange() || shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState(); |
+ return paintInvalidationState.forcedSubtreeInvalidationWithinContainer() || shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState(); |
} |
bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() const |