Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 26e8223cb49aab0bfddd9e3b0ebd6c41aa47ec16..49cdd32875ec73a93064bc7c5260f57a5eda4e6f 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -821,7 +821,10 @@ public: |
LayoutRect boundsRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const; |
// Actually do the paint invalidate of rect r for this object which has been computed in the coordinate space |
- // of paintInvalidationContainer. If paintInvalidationContainer is 0, invalidate paints via the view. |
+ // of the GraphicsLayer backing of |paintInvalidationContainer|. Note that this coordinaten space is not the same |
+ // as the local coordinate space of |paintInvalidationContainer| in the presence of layer squashing. |
+ // If |paintInvalidationContainer| is 0, invalidate paints via the view. |
+ // FIXME: |paintInvalidationContainer| should never be 0. See crbug.com/363699. |
void invalidatePaintUsingContainer(const RenderLayerModelObject* paintInvalidationContainer, const IntRect&, InvalidationReason) const; |
// Invalidate the paint of the entire object. Called when, e.g., the color of a border changes, or when a border |