Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
index d30a142cd29bc6525cb085b8b325e6d151538602..3ac9f5b96bcba3815dd229c26b78ee51a07e5eb5 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
@@ -46,8 +46,8 @@ static LayoutRect mapLocalRectToPaintInvalidationBacking(GeometryMapper& geometr |
} else if (object == context.paintInvalidationContainer) { |
result = LayoutRect(rect); |
} else { |
- PropertyTreeState currentTreeState(context.treeBuilderContext.current.transform, context.treeBuilderContext.current.clip, context.treeBuilderContext.currentEffect); |
- PropertyTreeState containerTreeState; |
+ GeometryPropertyTreeState currentTreeState(context.treeBuilderContext.current.transform, context.treeBuilderContext.current.clip, context.treeBuilderContext.currentEffect); |
+ GeometryPropertyTreeState containerTreeState; |
const ObjectPaintProperties* containerPaintProperties = context.paintInvalidationContainer->objectPaintProperties(); |
containerPaintProperties->getContentsProperties(containerTreeState); |
@@ -92,8 +92,8 @@ LayoutPoint PaintInvalidator::computeLocationFromPaintInvalidationBacking(const |
point.moveBy(FloatPoint(context.treeBuilderContext.current.paintOffset)); |
bool success = false; |
- PropertyTreeState currentTreeState(context.treeBuilderContext.current.transform, context.treeBuilderContext.current.clip, context.treeBuilderContext.currentEffect); |
- PropertyTreeState containerTreeState; |
+ GeometryPropertyTreeState currentTreeState(context.treeBuilderContext.current.transform, context.treeBuilderContext.current.clip, context.treeBuilderContext.currentEffect); |
+ GeometryPropertyTreeState containerTreeState; |
context.paintInvalidationContainer->objectPaintProperties()->getContentsProperties(containerTreeState); |
point = m_geometryMapper.mapRectToDestinationSpace(FloatRect(point, FloatSize()), currentTreeState, containerTreeState, success).location(); |
DCHECK(success); |