| Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| index e494270eb087c9fbba1e550f032fe40ce3a3d759..71e354f61f1dd9c07f1c24747cbebec44b0ad314 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| @@ -82,11 +82,11 @@ void PaintPropertyTreeBuilderTest::TearDown() {
|
| source.moveBy((sourceObject)->paintOffset()); \
|
| const auto& contentsProperties = \
|
| *(ancestorObject)->contentsProperties(); \
|
| - FloatRect actualFloatRect(source); \
|
| + FloatClipRect actualFloatRect((FloatRect(source))); \
|
| GeometryMapper::sourceToDestinationVisualRect( \
|
| *(sourceObject)->localBorderBoxProperties(), contentsProperties, \
|
| actualFloatRect); \
|
| - LayoutRect actual(actualFloatRect); \
|
| + LayoutRect actual(actualFloatRect.rect()); \
|
| actual.moveBy(-(ancestorObject)->paintOffset()); \
|
| SCOPED_TRACE("GeometryMapper: "); \
|
| EXPECT_EQ(expected, actual); \
|
|
|