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

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

Issue 2798513002: Revert of 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 e494270eb087c9fbba1e550f032fe40ce3a3d759..534f3cf45841e1422a5283f85b1a926d690ff6ad 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
@@ -78,12 +78,13 @@
#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); \
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp ('k') | third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698