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

Unified Diff: cc/paint/display_item_list.h

Issue 2842333003: cc: Update discardable image metadata generation to get PaintImages. (Closed)
Patch Set: Created 3 years, 8 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/display_item_list.h
diff --git a/cc/paint/display_item_list.h b/cc/paint/display_item_list.h
index 2122235a590096595d3de4377c972ff74a41e242..2449798ca7729ee30599b61ac978e36dfc87b5ef 100644
--- a/cc/paint/display_item_list.h
+++ b/cc/paint/display_item_list.h
@@ -163,6 +163,11 @@ class CC_PAINT_EXPORT DisplayItemList
return items_.end();
}
+ void GatherDiscardableImages(DiscardableImageStore* image_store) const;
+ const DiscardableImageMap& discardable_image_map_for_testing() const {
+ return image_map_;
+ }
+
bool has_discardable_images() const { return has_discardable_images_; }
private:

Powered by Google App Engine
This is Rietveld 408576698