| 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 98c7ff587eb23bc5538ef96a84bd6831d0211b32..167eec87bfa150f0766c0af54fb43dd2a7eb0577 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| @@ -54,9 +54,8 @@ static LayoutRect mapLocalRectToPaintInvalidationBacking(GeometryMapper& geometr
|
| result = LayoutRect(rect);
|
| } else {
|
| 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();
|
|
|
| rect.moveBy(FloatPoint(context.treeBuilderContext.current.paintOffset));
|
| bool success = false;
|
| @@ -100,8 +99,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);
|
| }
|
|
|