Index: third_party/WebKit/Source/core/paint/PaintLayerClipper.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h |
index f37081d76ac03dffe458cc49048c418d1f16e7c1..33c55b932536521bf3bcf56c52edf1e5e4effca5 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h |
@@ -223,9 +223,12 @@ class CORE_EXPORT PaintLayerClipper { |
ALWAYS_INLINE bool ShouldRespectOverflowClip(const ClipRectsContext&) const; |
// Returned clip rect in |output| is in the space of the context's rootLayer. |
+ // if |should_clip_to_visual_overflow| is true, clips to the bounds of the |
+ // visual overflow of |layer_|. |
ALWAYS_INLINE void CalculateBackgroundClipRectWithGeometryMapper( |
const ClipRectsContext&, |
- ClipRect& output) const; |
+ ClipRect& output, |
+ bool should_clip_to_visual_overflow) const; |
ALWAYS_INLINE void InitializeCommonClipRectState( |
const ClipRectsContext&, |