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

Unified Diff: cc/playback/draw_image.h

Issue 2669933002: cc: Optimize ImageDecodeCacheKey::FromDrawImage. (Closed)
Patch Set: update Created 3 years, 11 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/BUILD.gn ('k') | cc/tiles/software_image_decode_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/draw_image.h
diff --git a/cc/playback/draw_image.h b/cc/playback/draw_image.h
index 878f88ee23a2fa0da9296280c9b958eac4696078..d3633e0114156cdf2d31cd4a91c8b40ccc393709 100644
--- a/cc/playback/draw_image.h
+++ b/cc/playback/draw_image.h
@@ -29,7 +29,7 @@ class CC_EXPORT DrawImage {
const sk_sp<const SkImage>& image() const { return image_; }
const SkSize& scale() const { return scale_; }
- const SkIRect src_rect() const { return src_rect_; }
+ const SkIRect& src_rect() const { return src_rect_; }
SkFilterQuality filter_quality() const { return filter_quality_; }
bool matrix_is_decomposable() const { return matrix_is_decomposable_; }
const SkMatrix& matrix() const { return matrix_; }
« no previous file with comments | « cc/BUILD.gn ('k') | cc/tiles/software_image_decode_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698