Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index cb6890fc7fbb2181ff07bf906bad36f7c4adef6c..6f02bfe99ec2af9d8c54d7347ba194dcd44b06f5 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() && !everHadPaintInvalidation()) |
+ paintInvalidationContainer.layer()->paintInvalidator().setBackingIncludesFirstPaintInvalidation(); |
+ setEverHadPaintInvalidation(true); |
chrishtr
2014/08/20 17:10:31
I think this should go in RenderObject::invalidate
kouhei (in TOK)
2014/08/21 04:42:53
Hmm. RenderObject::invalidatePaintUsingContainer()
chrishtr
2014/08/21 21:28:34
Well we need to make sure it's hit in all cases. S
kouhei (in TOK)
2014/08/25 01:57:58
Done.
|
+ |
fullyInvalidatePaint(paintInvalidationContainer, invalidationReason, oldBounds, newBounds); |
return invalidationReason; |
} |