| 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 534f3cf45841e1422a5283f85b1a926d690ff6ad..e494270eb087c9fbba1e550f032fe40ce3a3d759 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
|
| @@ -78,13 +78,12 @@ void PaintPropertyTreeBuilderTest::TearDown() {
|
| #define CHECK_VISUAL_RECT(expected, sourceObject, ancestorObject, slopFactor) \
|
| do { \
|
| if ((sourceObject)->hasLayer() && (ancestorObject)->hasLayer()) { \
|
| - auto geometryMapper = GeometryMapper::create(); \
|
| LayoutRect source((sourceObject)->localVisualRect()); \
|
| source.moveBy((sourceObject)->paintOffset()); \
|
| const auto& contentsProperties = \
|
| *(ancestorObject)->contentsProperties(); \
|
| FloatRect actualFloatRect(source); \
|
| - geometryMapper->sourceToDestinationVisualRect( \
|
| + GeometryMapper::sourceToDestinationVisualRect( \
|
| *(sourceObject)->localBorderBoxProperties(), contentsProperties, \
|
| actualFloatRect); \
|
| LayoutRect actual(actualFloatRect); \
|
|
|