| Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
|
| index 424af9294452ace0bbedbd08bf2d9ea1499cabaa..1cb45093324e2b82a408d7e4ddfebc2a90b593ba 100644
|
| --- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
|
| +++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef PrePaintTreeWalk_h
|
| #define PrePaintTreeWalk_h
|
|
|
| +#include "core/layout/ClipRect.h"
|
| #include "core/paint/PaintInvalidator.h"
|
| #include "core/paint/PaintPropertyTreeBuilder.h"
|
|
|
| @@ -21,15 +22,28 @@ struct PrePaintTreeWalkContext;
|
| class PrePaintTreeWalk {
|
| public:
|
| PrePaintTreeWalk(GeometryMapper& geometryMapper)
|
| - : m_paintInvalidator(geometryMapper) {}
|
| + : m_paintInvalidator(geometryMapper), m_geometryMapper(geometryMapper) {}
|
| void walk(FrameView& rootFrame);
|
|
|
| private:
|
| void walk(FrameView&, const PrePaintTreeWalkContext&);
|
| void walk(const LayoutObject&, const PrePaintTreeWalkContext&);
|
|
|
| + void invalidatePaintLayerProperties(
|
| + const LayoutObject&,
|
| + const PaintLayer& ancestorTransformedOrRootPaintLayer,
|
| + const PaintPropertyTreeBuilderContext&);
|
| +
|
| + ClipRect clipRectForContext(
|
| + const PaintPropertyTreeBuilderContext::ContainingBlockContext&,
|
| + const EffectPaintPropertyNode*,
|
| + const PropertyTreeState& ancestorState,
|
| + const LayoutPoint& ancestorPaintOffset,
|
| + bool& hasClip);
|
| +
|
| PaintPropertyTreeBuilder m_propertyTreeBuilder;
|
| PaintInvalidator m_paintInvalidator;
|
| + GeometryMapper& m_geometryMapper;
|
| };
|
|
|
| } // namespace blink
|
|
|