Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index cb6890fc7fbb2181ff07bf906bad36f7c4adef6c..9f3b5e854dece7bd6745eecf80be1b74751674c3 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -1672,6 +1672,10 @@ InvalidationReason RenderObject::invalidatePaintIfNeeded(const RenderLayerModelO |
return invalidationReason; |
} |
+ if (view()->usesCompositing() && !hadPaintInvalidation()) |
+ paintInvalidationContainer.layer()->paintInvalidator().setBackingIncludesFirstPaintInvalidation(); |
+ setHadPaintInvalidation(true); |
+ |
fullyInvalidatePaint(paintInvalidationContainer, invalidationReason, oldBounds, newBounds); |
return invalidationReason; |
} |