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

Unified Diff: cc/paint/discardable_image_map.cc

Issue 2857923004: cc: Keep PaintImage in DrawImage. (Closed)
Patch Set: addressed comments. 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
Index: cc/paint/discardable_image_map.cc
diff --git a/cc/paint/discardable_image_map.cc b/cc/paint/discardable_image_map.cc
index fa45b242aa00ada2784471df82286d4d3cfc288a..9005ab8e5383c8d86496d9744b754386a1324375 100644
--- a/cc/paint/discardable_image_map.cc
+++ b/cc/paint/discardable_image_map.cc
@@ -46,7 +46,7 @@ void DiscardableImageMap::GetDiscardableImagesInRect(
}
}
-gfx::Rect DiscardableImageMap::GetRectForImage(ImageId image_id) const {
+gfx::Rect DiscardableImageMap::GetRectForImage(PaintImage::Id image_id) const {
const auto& it = image_id_to_rect_.find(image_id);
return it == image_id_to_rect_.end() ? gfx::Rect() : it->second;
}

Powered by Google App Engine
This is Rietveld 408576698