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

Unified Diff: cc/tiles/checker_image_tracker_unittest.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/raster/raster_source_unittest.cc ('k') | cc/tiles/gpu_image_decode_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/checker_image_tracker_unittest.cc
diff --git a/cc/tiles/checker_image_tracker_unittest.cc b/cc/tiles/checker_image_tracker_unittest.cc
index a60bcf75f5b4e2cdef444d4ad05e27b240577402..b0b55a796e1259ee863d6cf20e2ef7fc19cec6fd 100644
--- a/cc/tiles/checker_image_tracker_unittest.cc
+++ b/cc/tiles/checker_image_tracker_unittest.cc
@@ -79,8 +79,9 @@ class CheckerImageTrackerTest : public testing::Test,
: kNonCheckerableImageDimension;
sk_sp<SkImage> image =
CreateDiscardableImage(gfx::Size(dimension, dimension));
+ gfx::ColorSpace target_color_space = gfx::ColorSpace::CreateSRGB();
return DrawImage(image, SkIRect::MakeWH(image->width(), image->height()),
- kNone_SkFilterQuality, SkMatrix::I());
+ kNone_SkFilterQuality, SkMatrix::I(), target_color_space);
}
// CheckerImageTrackerClient implementation.
« no previous file with comments | « cc/raster/raster_source_unittest.cc ('k') | cc/tiles/gpu_image_decode_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698