| 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 c7d2274da3fc556e599b076131c69f717ebfe7c0..8ff6dc106366f5cee39f0116e47d8637e71d3862 100644
|
| --- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
|
| +++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
|
| @@ -31,18 +31,18 @@ class PrePaintTreeWalk {
|
|
|
| // Invalidates paint-layer painting optimizations, such as subsequence caching
|
| // and empty paint phase optimizations if clips from the context have changed.
|
| - void invalidatePaintLayerOptimizationsIfNeeded(const LayoutObject&,
|
| - PrePaintTreeWalkContext&);
|
| + ALWAYS_INLINE void invalidatePaintLayerOptimizationsIfNeeded(
|
| + const LayoutObject&,
|
| + PrePaintTreeWalkContext&);
|
|
|
| // Returns in |clipRect| 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(
|
| + // by ancestorPaintOffset.
|
| + ALWAYS_INLINE void computeClipRectForContext(
|
| const PaintPropertyTreeBuilderContext::ContainingBlockContext&,
|
| const EffectPaintPropertyNode*,
|
| const PropertyTreeState& ancestorState,
|
| const LayoutPoint& ancestorPaintOffset,
|
| - bool& hasClip,
|
| FloatClipRect&);
|
|
|
| // Returns true if the tree walk should stop before processing this object.
|
|
|