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

Unified Diff: cc/paint/display_item_list.cc

Issue 2797583002: cc: Add color space to image decode caches (Closed)
Patch Set: Remove dead code 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
« no previous file with comments | « cc/paint/display_item_list.h ('k') | cc/paint/draw_image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/display_item_list.cc
diff --git a/cc/paint/display_item_list.cc b/cc/paint/display_item_list.cc
index 830b3fbb15ffed9066378c28404c6e5b35aaf8d4..83599482f53461dd77ef6952fa45231f5ecdb68c 100644
--- a/cc/paint/display_item_list.cc
+++ b/cc/paint/display_item_list.cc
@@ -488,8 +488,10 @@ void DisplayItemList::GenerateDiscardableImagesMetadata() {
void DisplayItemList::GetDiscardableImagesInRect(
const gfx::Rect& rect,
float contents_scale,
+ const gfx::ColorSpace& target_color_space,
std::vector<DrawImage>* images) {
- image_map_.GetDiscardableImagesInRect(rect, contents_scale, images);
+ image_map_.GetDiscardableImagesInRect(rect, contents_scale,
+ target_color_space, images);
}
gfx::Rect DisplayItemList::GetRectForImage(ImageId image_id) const {
« no previous file with comments | « cc/paint/display_item_list.h ('k') | cc/paint/draw_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698