| 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 f2e106bf825a08e3a09db0ab7131ffb9d3746b90..97c86a90bda984049055e0b145fb3ff3098e1256 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| @@ -78,18 +78,18 @@ void PaintPropertyTreeBuilderTest::TearDown() {
|
| #define CHECK_VISUAL_RECT(expected, sourceLayoutObject, ancestorLayoutObject, \
|
| slopFactor) \
|
| do { \
|
| - GeometryMapper geometryMapper; \
|
| + std::unique_ptr<GeometryMapper> geometryMapper = GeometryMapper::create(); \
|
| LayoutRect source((sourceLayoutObject)->localVisualRect()); \
|
| source.moveBy((sourceLayoutObject)->paintOffset()); \
|
| const auto& contentsProperties = \
|
| *(ancestorLayoutObject)->paintProperties()->contentsProperties(); \
|
| LayoutRect actual = LayoutRect( \
|
| geometryMapper \
|
| - .sourceToDestinationVisualRect(FloatRect(source), \
|
| - *(sourceLayoutObject) \
|
| - ->paintProperties() \
|
| - ->localBorderBoxProperties(), \
|
| - contentsProperties) \
|
| + ->sourceToDestinationVisualRect(FloatRect(source), \
|
| + *(sourceLayoutObject) \
|
| + ->paintProperties() \
|
| + ->localBorderBoxProperties(), \
|
| + contentsProperties) \
|
| .rect()); \
|
| actual.moveBy(-(ancestorLayoutObject)->paintOffset()); \
|
| EXPECT_EQ(expected, actual) \
|
|
|