| 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 b41fdfe7a6fe4a8136acae8051010c5ab92bc452..62cd610bfde2b7775e4d80846817e5d5a0884b54 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp
|
| @@ -66,14 +66,8 @@ TEST_P(PaintLayerClipperTest, LayoutSVGRoot) {
|
|
|
| EXPECT_EQ(LayoutRect(FloatRect(8.25, 8.35, 200, 300)),
|
| background_rect.Rect());
|
| - if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) {
|
| - EXPECT_EQ(LayoutRect(FloatRect(8.25, 8.35, 199.75, 299.66)),
|
| - foreground_rect.Rect());
|
| - } else {
|
| - // TODO(chrishtr): this is off by 0.25px because
|
| - // LayoutSVGRoot::OverflowClipRect incorrectly does pixel-snapping.
|
| - EXPECT_EQ(LayoutRect(FloatRect(8, 8, 200, 300)), foreground_rect.Rect());
|
| - }
|
| + EXPECT_EQ(LayoutRect(FloatRect(8.25, 8.35, 200, 300)),
|
| + foreground_rect.Rect());
|
| EXPECT_EQ(LayoutRect(FloatRect(8.25, 8.35, 200, 300)), layer_bounds);
|
| }
|
|
|
|
|