| 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 4e63d42aada33764a4e78120c18ac53e8f213c8f..b612cff633b683266528cffacaf1944d7c7b9a04 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| @@ -52,9 +52,7 @@
|
| Element* target = document().getElementById("target");
|
| PaintLayer* targetPaintLayer =
|
| toLayoutBoxModelObject(target->layoutObject())->layer();
|
| - ClipRectsContext context(document().layoutView()->layer(), UncachedClipRects,
|
| - IgnoreOverlayScrollbarSize,
|
| - LayoutSize(FloatSize(0.25, 0.35)));
|
| + 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())
|
| @@ -68,8 +66,8 @@
|
| targetPaintLayer->clipper(option).calculateRects(
|
| context, LayoutRect(LayoutRect::infiniteIntRect()), layerBounds,
|
| backgroundRect, foregroundRect);
|
| - EXPECT_EQ(LayoutRect(FloatRect(8.25, 8.35, 200, 300)), backgroundRect.rect());
|
| - EXPECT_EQ(LayoutRect(FloatRect(8.25, 8.35, 200, 300)), foregroundRect.rect());
|
| + EXPECT_EQ(LayoutRect(8, 8, 200, 300), backgroundRect.rect());
|
| + EXPECT_EQ(LayoutRect(8, 8, 200, 300), foregroundRect.rect());
|
| EXPECT_EQ(LayoutRect(8, 8, 200, 300), layerBounds);
|
| }
|
|
|
|
|