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

Unified Diff: cc/playback/discardable_image_map.cc

Issue 2561463002: Add bug to TODO for handling SkImageShader subrects (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/discardable_image_map.cc
diff --git a/cc/playback/discardable_image_map.cc b/cc/playback/discardable_image_map.cc
index 7b6fed59aa991d8b510fce85638b1042b77e290f..be273d5be4c7240ab35dfacae9e731198879a531 100644
--- a/cc/playback/discardable_image_map.cc
+++ b/cc/playback/discardable_image_map.cc
@@ -216,7 +216,7 @@ class DiscardableImagesMetadataCanvas : public SkNWayCanvas {
const SkMatrix& ctm = getTotalMatrix();
matrix.postConcat(ctm);
// TODO(ericrk): Handle cases where we only need a sub-rect from the
- // image.
+ // image. crbug.com/671821
AddImage(sk_ref_sp(image), SkRect::MakeFromIRect(image->bounds()),
MapRect(ctm, rect), matrix, &paint);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698