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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 468343002: Rename repaint to paintInvalidation in core/rendering/compositing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix invalidator spelling Created 6 years, 4 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/compositing/RenderLayerCompositor.h
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
index 56af0115ea7cc9ddf7e13f1e67b398044fc72a75..05cef85c7dba0a61ff517b1318a2b96bc795cea4 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.h
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.h
@@ -106,8 +106,8 @@ public:
GraphicsLayer* fixedRootBackgroundLayer() const;
void setNeedsUpdateFixedBackground() { m_needsUpdateFixedBackground = true; }
- // Repaint the appropriate layers when the given RenderLayer starts or stops being composited.
- void repaintOnCompositingChange(RenderLayer*);
+ // Issue paint invalidations of the appropriate layers when the given RenderLayer starts or stops being composited.
+ void paintInvalidationOnCompositingChange(RenderLayer*);
void fullyInvalidatePaint();
@@ -151,8 +151,8 @@ public:
GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVerticalScrollbar.get(); }
GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.get(); }
- void resetTrackedRepaintRects();
- void setTracksRepaints(bool);
+ void resetTrackedPaintInvalidationRects();
+ void setTracksPaintInvalidations(bool);
virtual String debugName(const GraphicsLayer*) OVERRIDE;
DocumentLifecycle& lifecycle() const;
@@ -183,7 +183,7 @@ private:
virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE { }
virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect&) OVERRIDE;
- virtual bool isTrackingRepaints() const OVERRIDE;
+ virtual bool isTrackingPaintInvalidations() const OVERRIDE;
// Whether the given RL needs to paint into its own separate backing (and hence would need its own CompositedLayerMapping).
bool needsOwnBacking(const RenderLayer*) const;
@@ -236,7 +236,7 @@ private:
// m_compositingDirty.
bool m_rootShouldAlwaysCompositeDirty;
bool m_needsUpdateFixedBackground;
- bool m_isTrackingRepaints; // Used for testing.
+ bool m_isTrackingPaintInvalidations; // Used for testing.
RootLayerAttachment m_rootLayerAttachment;

Powered by Google App Engine
This is Rietveld 408576698