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

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

Issue 434453002: Promote inlines to first-class invalidation citizens (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test and expectations Created 6 years, 5 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/RenderLayerModelObject.h
diff --git a/Source/core/rendering/RenderLayerModelObject.h b/Source/core/rendering/RenderLayerModelObject.h
index e81abd3d3376c9df97993001dc6778fb95fbd16e..5abb7d804d4673432d377f9d78874a357188fa90 100644
--- a/Source/core/rendering/RenderLayerModelObject.h
+++ b/Source/core/rendering/RenderLayerModelObject.h
@@ -66,6 +66,7 @@ public:
// This is null for anonymous renderers.
ContainerNode* node() const { return toContainerNode(RenderObject::node()); }
+ virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE;
Julien - ping for review 2014/08/04 19:36:39 Shouldn't this be private as we assume we call Ren
leviw_travelin_and_unemployed 2014/08/05 22:34:44 Done.
protected:
void createLayer(LayerType);
@@ -73,6 +74,7 @@ protected:
virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer*, const LayoutPoint&, const LayoutRect&) const OVERRIDE;
+ virtual void invalidatePaintIfNeeded(const PaintInvalidationState&, const RenderLayerModelObject& newPaintInvalidationContainer);
private:
virtual bool isLayerModelObject() const OVERRIDE FINAL { return true; }

Powered by Google App Engine
This is Rietveld 408576698