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

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

Issue 701873002: Revert "Don't invalidate scrolling container layer when scrolling contents need invalidation" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/RenderLayerModelObject.h
diff --git a/Source/core/rendering/RenderLayerModelObject.h b/Source/core/rendering/RenderLayerModelObject.h
index 8ee523122221bf9833ecfd1eef4e7307ee70fb1f..b25828b5722e4639afcf813f70d2a94d24815455 100644
--- a/Source/core/rendering/RenderLayerModelObject.h
+++ b/Source/core/rendering/RenderLayerModelObject.h
@@ -66,9 +66,8 @@ public:
virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override;
- // Indicate that the contents of this renderer need to be repainted. Only has an effect if compositing is being used.
- // The rect is in the coordinate space of this render object.
- void setBackingNeedsPaintInvalidationInRect(const LayoutRect&, PaintInvalidationReason, const RenderObject& forRenderer) const;
+ // Indicate that the contents of this renderer need to be repainted. Only has an effect if compositing is being used,
+ void setBackingNeedsPaintInvalidationInRect(const LayoutRect&, PaintInvalidationReason) const; // r is in the coordinate space of this render object
protected:
void createLayer(LayerType);

Powered by Google App Engine
This is Rietveld 408576698