Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(680)

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp

Issue 2793993003: Make GeometryMapper fully static (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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); \

Powered by Google App Engine
This is Rietveld 408576698