Chromium Code Reviews| 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 81d0f09145ec4c084960c1372167ce124b092579..a45884e9ccc098c910ae44fdab06943b2b98b5ab 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. |
|
Xianzhu
2017/04/03 16:30:15
Remove the sentence about 'hasClip'.
chrishtr
2017/04/03 16:36:42
Done.
|
| - void computeClipRectForContext( |
| + ALWAYS_INLINE void computeClipRectForContext( |
| const PaintPropertyTreeBuilderContext::ContainingBlockContext&, |
| const EffectPaintPropertyNode*, |
| const PropertyTreeState& ancestorState, |
| const LayoutPoint& ancestorPaintOffset, |
| - bool& hasClip, |
| FloatClipRect&); |
| bool ALWAYS_INLINE |