| Index: third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| index c551b2be078e35034a2f87be54c6f12c04a09879..f9de13e1187cd19bbeddbae5e52d014a85a96330 100644
|
| --- a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| @@ -41,7 +41,7 @@ class VisualRectMappingTest : public RenderingTest {
|
| if (slowMapRect.isEmpty() && object.visualRect().isEmpty())
|
| return;
|
|
|
| - FloatRect geometryMapperRect(localRect);
|
| + FloatClipRect geometryMapperRect((FloatRect(localRect)));
|
| if (object.paintProperties() || object.localBorderBoxProperties()) {
|
| geometryMapperRect.moveBy(FloatPoint(object.paintOffset()));
|
| GeometryMapper::sourceToDestinationVisualRect(
|
| @@ -55,15 +55,15 @@ class VisualRectMappingTest : public RenderingTest {
|
| if (adjustForBacking && ancestor.isPaintInvalidationContainer()) {
|
| PaintLayer::mapRectInPaintInvalidationContainerToBacking(ancestor,
|
| slowMapRect);
|
| - LayoutRect temp(geometryMapperRect);
|
| + LayoutRect temp(geometryMapperRect.rect());
|
| PaintLayer::mapRectInPaintInvalidationContainerToBacking(ancestor, temp);
|
| - geometryMapperRect = FloatRect(temp);
|
| + geometryMapperRect.setRect(FloatRect(temp));
|
| }
|
| EXPECT_TRUE(enclosingIntRect(slowMapRect)
|
| .contains(enclosingIntRect(expectedVisualRect)));
|
|
|
| if (object.paintProperties()) {
|
| - EXPECT_TRUE(enclosingIntRect(geometryMapperRect)
|
| + EXPECT_TRUE(enclosingIntRect(geometryMapperRect.rect())
|
| .contains(enclosingIntRect(expectedVisualRect)));
|
| }
|
| }
|
|
|