Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1622)

Unified Diff: Source/core/rendering/RenderObject.h

Issue 337173003: Compute paint invalidation rects for selection in the space of the backing GraphicsLayer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added comment. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698