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

Unified Diff: sky/engine/core/rendering/RenderLayerClipper.h

Issue 964023002: Remove unused foregroundRect argument to RenderLayerClipper::calculateRects. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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: sky/engine/core/rendering/RenderLayerClipper.h
diff --git a/sky/engine/core/rendering/RenderLayerClipper.h b/sky/engine/core/rendering/RenderLayerClipper.h
index 19aad602002f818ccb57e84a7d49121a8e31454b..3841ff53419f9d2c5112ba966a8657fc1b0dce47 100644
--- a/sky/engine/core/rendering/RenderLayerClipper.h
+++ b/sky/engine/core/rendering/RenderLayerClipper.h
@@ -83,7 +83,6 @@ public:
void clearClipRectsIncludingDescendants();
void clearClipRectsIncludingDescendants(ClipRectsCacheSlot);
- LayoutRect childrenClipRect() const; // Returns the foreground clip rect of the layer in the document's coordinate space.
LayoutRect localClipRect() const; // Returns the background clip rect of the layer in the local coordinate space.
ClipRects* getClipRects(const ClipRectsContext&) const;
@@ -91,11 +90,9 @@ public:
ClipRect backgroundClipRect(const ClipRectsContext&) const;
// This method figures out our layerBounds in coordinates relative to
- // |rootLayer|. It also computes our background and foreground clip rects
- // for painting/event handling.
- // Pass offsetFromRoot if known.
+ // |rootLayer|. It also computes our clip rects for painting/event handling.
void calculateRects(const ClipRectsContext&, const LayoutRect& paintDirtyRect, LayoutRect& layerBounds,
- ClipRect& backgroundRect, ClipRect& foregroundRect, const LayoutPoint* offsetFromRoot = 0) const;
+ ClipRect& backgroundRect, const LayoutPoint* offsetFromRoot = 0) const;
private:
void calculateClipRects(const ClipRectsContext&, ClipRects&) const;

Powered by Google App Engine
This is Rietveld 408576698