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

Unified Diff: cc/paint/paint_op_buffer.h

Issue 2876033005: Track slow paths in DisplayItemList (Closed)
Patch Set: Rebase Created 3 years, 7 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: cc/paint/paint_op_buffer.h
diff --git a/cc/paint/paint_op_buffer.h b/cc/paint/paint_op_buffer.h
index 900eaf1e1d3817819a8a3cbdd534c6bb681a59d5..c3ed74b8db09853d67331e32b8e80ffa66605d60 100644
--- a/cc/paint/paint_op_buffer.h
+++ b/cc/paint/paint_op_buffer.h
@@ -375,7 +375,7 @@ struct CC_PAINT_EXPORT DrawDisplayItemListOp final : PaintOp {
const SkMatrix& original_ctm);
size_t AdditionalBytesUsed() const;
bool HasDiscardableImages() const;
- // TODO(enne): DisplayItemList should know number of slow paths.
+ int CountSlowPaths() const;
scoped_refptr<DisplayItemList> list;
};

Powered by Google App Engine
This is Rietveld 408576698