Index: cc/paint/display_item_list.h |
diff --git a/cc/paint/display_item_list.h b/cc/paint/display_item_list.h |
index 92c332fe8eddbafeaf76d5aa8d1c2169c063d093..0f0caaf598be5fa253f892f91e6e711c60e10b85 100644 |
--- a/cc/paint/display_item_list.h |
+++ b/cc/paint/display_item_list.h |
@@ -130,10 +130,8 @@ class CC_PAINT_EXPORT DisplayItemList |
// applicable, create an internally cached SkPicture. |
void Finalize(); |
- void SetIsSuitableForGpuRasterization(bool is_suitable) { |
- all_items_are_suitable_for_gpu_rasterization_ = is_suitable; |
- } |
- bool IsSuitableForGpuRasterization() const; |
+ void SetNumSlowPaths(int num_slow_paths) { num_slow_paths_ = num_slow_paths; } |
+ int NumSlowPaths() const { return num_slow_paths_; } |
int ApproximateOpCount() const; |
size_t ApproximateMemoryUsage() const; |
@@ -205,7 +203,7 @@ class CC_PAINT_EXPORT DisplayItemList |
std::vector<size_t> begin_item_indices_; |
int approximate_op_count_ = 0; |
- bool all_items_are_suitable_for_gpu_rasterization_ = true; |
+ int num_slow_paths_ = 0; |
// For testing purposes only. Whether to keep visual rects across calls to |
// Finalize(). |
bool retain_visual_rects_ = false; |