| Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| index 8706e09f2a5c079a2ddc0af2eb68557368136677..33cb5d7d4332cb64cb49dd69370208a2c0ff1a6c 100644
|
| --- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| @@ -15,10 +15,10 @@
|
| namespace blink {
|
|
|
| struct PrePaintTreeWalkContext {
|
| - PrePaintTreeWalkContext()
|
| + PrePaintTreeWalkContext(GeometryMapper& geometryMapper)
|
| : treeBuilderContext(
|
| WTF::wrapUnique(new PaintPropertyTreeBuilderContext)),
|
| - paintInvalidatorContext(*treeBuilderContext),
|
| + paintInvalidatorContext(*treeBuilderContext, geometryMapper),
|
| ancestorOverflowPaintLayer(nullptr),
|
| ancestorTransformedOrRootPaintLayer(nullptr) {}
|
| PrePaintTreeWalkContext(const PrePaintTreeWalkContext& parentContext)
|
| @@ -48,7 +48,7 @@ void PrePaintTreeWalk::walk(FrameView& rootFrame) {
|
| DCHECK(rootFrame.frame().document()->lifecycle().state() ==
|
| DocumentLifecycle::InPrePaint);
|
|
|
| - PrePaintTreeWalkContext initialContext;
|
| + PrePaintTreeWalkContext initialContext(m_geometryMapper);
|
| m_propertyTreeBuilder.setupInitialContext(*initialContext.treeBuilderContext);
|
| initialContext.ancestorTransformedOrRootPaintLayer =
|
| rootFrame.layoutView()->layer();
|
|
|