Chromium Code Reviews| Index: cc/paint/display_item_list.cc |
| diff --git a/cc/paint/display_item_list.cc b/cc/paint/display_item_list.cc |
| index 88e11106bacfca1789eaefb3de1ed9f925ace7ac..fd75ecbe35b149bd2c3a4818f44392338cd06725 100644 |
| --- a/cc/paint/display_item_list.cc |
| +++ b/cc/paint/display_item_list.cc |
| @@ -336,6 +336,10 @@ bool DisplayItemList::ShouldBeAnalyzedForSolidColor() const { |
| return ApproximateOpCount() <= kOpCountThatIsOkToAnalyze; |
| } |
| +bool DisplayItemList::HasNonSRGBContent() const { |
| + return image_map_.has_non_srgb_images(); |
|
vmpstr
2017/05/09 22:58:27
One thing to note (and I think we're pretty far do
|
| +} |
| + |
| void DisplayItemList::EmitTraceSnapshot() const { |
| bool include_items; |
| TRACE_EVENT_CATEGORY_GROUP_ENABLED( |