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

Unified Diff: third_party/WebKit/Source/core/layout/VisualRectMappingTest.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/layout/VisualRectMappingTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
index 84c8e4d148480e73a038cd79075f5dea656742c6..c551b2be078e35034a2f87be54c6f12c04a09879 100644
--- a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
+++ b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
@@ -7,6 +7,7 @@
#include "core/layout/PaintInvalidationState.h"
#include "core/paint/PaintLayer.h"
#include "core/paint/PaintPropertyTreePrinter.h"
+#include "platform/graphics/paint/GeometryMapper.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
@@ -43,7 +44,7 @@ class VisualRectMappingTest : public RenderingTest {
FloatRect geometryMapperRect(localRect);
if (object.paintProperties() || object.localBorderBoxProperties()) {
geometryMapperRect.moveBy(FloatPoint(object.paintOffset()));
- document().view()->geometryMapper().sourceToDestinationVisualRect(
+ GeometryMapper::sourceToDestinationVisualRect(
*object.localBorderBoxProperties(), *ancestor.contentsProperties(),
geometryMapperRect);
geometryMapperRect.moveBy(-FloatPoint(ancestor.paintOffset()));

Powered by Google App Engine
This is Rietveld 408576698