Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h

Issue 2748443002: Do not commit: Object paint property statistics (Closed)
Patch Set: Fix bug in contentsProperties Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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&);

Powered by Google App Engine
This is Rietveld 408576698