| Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| index 3c4014a6451f100731fc363f8e298b447f8d4da2..92fe51e767190e63f35ca1bf9dd98ae9a4a6feac 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -296,15 +296,15 @@ void PaintPropertyTreeBuilder::updateLocalBorderBoxContext(const LayoutObject& o
|
| std::unique_ptr<ObjectPaintProperties::LocalBorderBoxProperties> borderBoxContext =
|
| wrapUnique(new ObjectPaintProperties::LocalBorderBoxProperties);
|
| borderBoxContext->paintOffset = context.current.paintOffset;
|
| - borderBoxContext->propertyTreeState = PropertyTreeState(context.current.transform, context.current.clip, context.currentEffect);
|
| + borderBoxContext->geometryPropertyTreeState = GeometryPropertyTreeState(context.current.transform, context.current.clip, context.currentEffect);
|
| borderBoxContext->scroll = context.current.scroll;
|
|
|
| if (!context.current.clip) {
|
| DCHECK(object.isLayoutView());
|
| DCHECK(toLayoutView(object).frameView()->frame().isMainFrame());
|
| DCHECK(RuntimeEnabledFeatures::rootLayerScrollingEnabled());
|
| - borderBoxContext->propertyTreeState.clip = ClipPaintPropertyNode::create(nullptr, context.current.transform, FloatRoundedRect(LayoutRect::infiniteIntRect()));
|
| - context.current.clip = borderBoxContext->propertyTreeState.clip.get();
|
| + borderBoxContext->geometryPropertyTreeState.clip = ClipPaintPropertyNode::create(nullptr, context.current.transform, FloatRoundedRect(LayoutRect::infiniteIntRect()));
|
| + context.current.clip = borderBoxContext->geometryPropertyTreeState.clip.get();
|
| }
|
|
|
| object.getMutableForPainting().ensureObjectPaintProperties().setLocalBorderBoxProperties(std::move(borderBoxContext));
|
|
|