| 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 b2ea1131d758d312a605e0b8a973344ace231178..8e5130bb0d8d7237cba07425fc23eeb17d44d17f 100644
|
| --- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
|
| +++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h
|
| @@ -16,6 +16,8 @@ class GeometryMapper;
|
| class LayoutObject;
|
| struct PrePaintTreeWalkContext;
|
|
|
| +struct TreeStats;
|
| +
|
| // This class walks the whole layout tree, beginning from the root FrameView,
|
| // across frame boundaries. Helper classes are called for each tree node to
|
| // perform actual actions. It expects to be invoked in InPrePaint phase.
|
| @@ -25,6 +27,10 @@ class PrePaintTreeWalk {
|
| : m_paintInvalidator(geometryMapper), m_geometryMapper(geometryMapper) {}
|
| void walk(FrameView& rootFrame);
|
|
|
| + void printStats(const FrameView& rootFrame);
|
| + void countStats(TreeStats&, const FrameView&);
|
| + void countStats(TreeStats&, const LayoutObject&);
|
| +
|
| private:
|
| void walk(FrameView&, const PrePaintTreeWalkContext&);
|
| void walk(const LayoutObject&, const PrePaintTreeWalkContext&);
|
|
|