| Index: third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp b/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| index 65a57b663409e43ad82bb08d7b8a27a5f508e229..8cacaeb8a22e35606d0ceb6dbbf43f4b67da5ffa 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| @@ -27,6 +27,10 @@ TEST_F(PaintLayerClipperTest, LayoutSVGRoot) {
|
| PaintLayer* targetPaintLayer =
|
| toLayoutBoxModelObject(target->layoutObject())->layer();
|
| ClipRectsContext context(document().layoutView()->layer(), UncachedClipRects);
|
| + // When RLS is enabled, the LayoutView will have a composited scrolling layer,
|
| + // so don't apply an overflow clip.
|
| + if (RuntimeEnabledFeatures::rootLayerScrollingEnabled())
|
| + context.setIgnoreOverflowClip();
|
| LayoutRect layerBounds;
|
| ClipRect backgroundRect, foregroundRect;
|
| targetPaintLayer->clipper().calculateRects(
|
|
|