| Index: third_party/WebKit/Source/core/paint/PaintLayer.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| index 8d32388ac66cdab0cfb7b85f5bb8ac13487722df..4a7719a0a71610db74226d475874e0c37b3d9eed 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| @@ -626,10 +626,9 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
|
| return m_scrollableArea.get();
|
| }
|
|
|
| - PaintLayerClipper clipper() const {
|
| - return PaintLayerClipper(*this,
|
| - RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - }
|
| + enum GeometryMapperOption { UseGeometryMapper, DoNotUseGeometryMapper };
|
| +
|
| + PaintLayerClipper clipper(GeometryMapperOption) const;
|
|
|
| bool scrollsOverflow() const;
|
|
|
| @@ -849,6 +848,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
|
| const PaintLayer* rootLayer,
|
| const LayoutRect& dirtyRect,
|
| ClipRectsCacheSlot,
|
| + GeometryMapperOption,
|
| OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize,
|
| ShouldRespectOverflowClipType = RespectOverflowClip,
|
| const LayoutPoint* offsetFromRoot = 0,
|
| @@ -858,6 +858,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
|
| const PaintLayer* rootLayer,
|
| const LayoutRect& dirtyRect,
|
| ClipRectsCacheSlot,
|
| + GeometryMapperOption,
|
| OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize,
|
| ShouldRespectOverflowClipType = RespectOverflowClip,
|
| const LayoutPoint* offsetFromRoot = 0,
|
|
|