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

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

Issue 307713002: Refactor repainting logic to abstract away the specific repaint container. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix. Created 6 years, 7 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
« no previous file with comments | « Source/core/rendering/RenderLayerModelObject.cpp ('k') | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayerRepainter.h
diff --git a/Source/core/rendering/RenderLayerRepainter.h b/Source/core/rendering/RenderLayerRepainter.h
index 7df0b18a42ab8c7c118ae6968f4c6018b658aca7..092fe0939a8363742370e3b0566fffb2918df851 100644
--- a/Source/core/rendering/RenderLayerRepainter.h
+++ b/Source/core/rendering/RenderLayerRepainter.h
@@ -70,11 +70,11 @@ public:
LayoutRect repaintRectIncludingNonCompositingDescendants() const;
void repaintAfterLayout(bool shouldCheckForRepaint);
- void repaintIncludingNonCompositingDescendants(const RenderLayerModelObject* repaintContainer);
+ void repaintIncludingNonCompositingDescendants();
void setRepaintStatus(RepaintStatus status) { m_repaintStatus = status; }
- void computeRepaintRects(const RenderLayerModelObject* repaintContainer);
+ void computeRepaintRects();
void computeRepaintRectsIncludingDescendants();
// Indicate that the layer contents need to be repainted. Only has an effect
@@ -85,6 +85,8 @@ public:
void setFilterBackendNeedsRepaintingInRect(const LayoutRect&);
private:
+ void repaintIncludingNonCompositingDescendantsInternal(const RenderLayerModelObject* repaintContainer);
+
bool shouldRepaintLayer() const;
void clearRepaintRects();
« no previous file with comments | « Source/core/rendering/RenderLayerModelObject.cpp ('k') | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698