| Index: cc/paint/display_item_list.h
|
| diff --git a/cc/paint/display_item_list.h b/cc/paint/display_item_list.h
|
| index 893dc9fbc4f1e111705acaec524bdf8fe453ebd8..5aa1490336e2fb5a3b56ae8d7f103f8a07e4b8b2 100644
|
| --- a/cc/paint/display_item_list.h
|
| +++ b/cc/paint/display_item_list.h
|
| @@ -125,10 +125,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_; }
|
|
|
| size_t OpCount() const;
|
| size_t ApproximateMemoryUsage() const;
|
| @@ -200,7 +198,7 @@ class CC_PAINT_EXPORT DisplayItemList
|
| std::vector<size_t> begin_item_indices_;
|
|
|
| size_t op_count_ = 0u;
|
| - 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;
|
|
|