| 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 be05bd7667b0e4bc938904da9595020d0faa96d1..c1b0b10d9dbe2c8746860def5b70130b2762c6bb 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| @@ -62,9 +62,8 @@ static LayoutRect mapLocalRectToPaintInvalidationBacking(GeometryMapper& geometr
|
| rect.moveBy(FloatPoint(context.treeBuilderContext.current.paintOffset));
|
|
|
| GeometryPropertyTreeState currentTreeState(context.treeBuilderContext.current.transform, context.treeBuilderContext.current.clip, context.treeBuilderContext.currentEffect);
|
| - GeometryPropertyTreeState containerTreeState;
|
| const ObjectPaintProperties* containerPaintProperties = context.paintInvalidationContainer->objectPaintProperties();
|
| - containerPaintProperties->getContentsProperties(containerTreeState);
|
| + GeometryPropertyTreeState containerTreeState = containerPaintProperties->getContentsProperties();
|
|
|
| bool success = false;
|
| result = LayoutRect(geometryMapper.mapToVisualRectInDestinationSpace(rect, currentTreeState, containerTreeState, success));
|
| @@ -107,8 +106,7 @@ LayoutPoint PaintInvalidator::computeLocationFromPaintInvalidationBacking(const
|
|
|
| bool success = false;
|
| GeometryPropertyTreeState currentTreeState(context.treeBuilderContext.current.transform, context.treeBuilderContext.current.clip, context.treeBuilderContext.currentEffect);
|
| - GeometryPropertyTreeState containerTreeState;
|
| - context.paintInvalidationContainer->objectPaintProperties()->getContentsProperties(containerTreeState);
|
| + GeometryPropertyTreeState containerTreeState = context.paintInvalidationContainer->objectPaintProperties()->getContentsProperties();
|
| point = m_geometryMapper.mapRectToDestinationSpace(FloatRect(point, FloatSize()), currentTreeState, containerTreeState, success).location();
|
| DCHECK(success);
|
| }
|
|
|