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

Unified Diff: cc/paint/paint_op_buffer.h

Issue 2876033005: Track slow paths in DisplayItemList (Closed)
Patch Set: 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 50a224e9790228dc051a61f708edb6051b829f4a..c7323aa92eac91f6502821a8d0d9cdc7808a6aea 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