Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h |
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h |
index b2ea1131d758d312a605e0b8a973344ace231178..634292466820fdcb00809a6b1e83e483e73c4e1a 100644 |
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h |
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h |
@@ -34,16 +34,15 @@ |
void invalidatePaintLayerOptimizationsIfNeeded(const LayoutObject&, |
PrePaintTreeWalkContext&); |
- // Returns in |clipRect| the clip applied to children for the given |
+ // Returns the clip applied to children for the given |
// contaiing block context + effect, in the space of ancestorState adjusted |
// by ancestorPaintOffset. Sets hasClip to true if a clip was applied. |
- void computeClipRectForContext( |
+ FloatClipRect clipRectForContext( |
const PaintPropertyTreeBuilderContext::ContainingBlockContext&, |
const EffectPaintPropertyNode*, |
const PropertyTreeState& ancestorState, |
const LayoutPoint& ancestorPaintOffset, |
- bool& hasClip, |
- FloatClipRect&); |
+ bool& hasClip); |
// Returns true if the tree walk should stop before processing this object. |
bool shouldEndWalkBefore(const LayoutObject&, const PrePaintTreeWalkContext&); |