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

Unified Diff: cc/paint/discardable_image_map.h

Issue 2857923004: cc: Keep PaintImage in DrawImage. (Closed)
Patch Set: .. Created 3 years, 7 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/layers/picture_layer_impl.cc ('k') | cc/paint/discardable_image_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/discardable_image_map.h
diff --git a/cc/paint/discardable_image_map.h b/cc/paint/discardable_image_map.h
index 881698fdac797f4b7f36ae3153f66697ac7170d5..f705e89355df31f5211a4750360c7ce12b143c3c 100644
--- a/cc/paint/discardable_image_map.h
+++ b/cc/paint/discardable_image_map.h
@@ -49,7 +49,7 @@ class CC_PAINT_EXPORT DiscardableImageMap {
float contents_scale,
const gfx::ColorSpace& target_color_space,
std::vector<DrawImage>* images) const;
- gfx::Rect GetRectForImage(ImageId image_id) const;
+ gfx::Rect GetRectForImage(PaintImage::Id image_id) const;
private:
friend class ScopedMetadataGenerator;
@@ -60,7 +60,7 @@ class CC_PAINT_EXPORT DiscardableImageMap {
void EndGeneratingMetadata();
std::vector<std::pair<DrawImage, gfx::Rect>> all_images_;
- base::flat_map<ImageId, gfx::Rect> image_id_to_rect_;
+ base::flat_map<PaintImage::Id, gfx::Rect> image_id_to_rect_;
RTree images_rtree_;
};
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/paint/discardable_image_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698