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

Unified Diff: cc/tiles/gpu_image_decode_cache_unittest.cc

Issue 2904743002: cc: Add UMA for tracking decode duration for out of raster decodes. (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
Index: cc/tiles/gpu_image_decode_cache_unittest.cc
diff --git a/cc/tiles/gpu_image_decode_cache_unittest.cc b/cc/tiles/gpu_image_decode_cache_unittest.cc
index d46fa18a461bf426c8d5d5195800bbe5ca2c6a23..c194b803057475c4d1edaa6f164c8fab7b578e96 100644
--- a/cc/tiles/gpu_image_decode_cache_unittest.cc
+++ b/cc/tiles/gpu_image_decode_cache_unittest.cc
@@ -1463,8 +1463,8 @@ TEST(GpuImageDecodeCacheTest, OutOfRasterDecodeTask) {
kLow_SkFilterQuality, matrix, DefaultColorSpace());
scoped_refptr<TileTask> task;
- bool need_unref =
- cache.GetOutOfRasterDecodeTaskForImageAndRef(draw_image, &task);
+ bool need_unref = cache.GetOutOfRasterDecodeTaskForImageAndRef(
+ draw_image, ImageDecodeCache::ImageDecodeType::kCheckerImaging, &task);
EXPECT_TRUE(need_unref);
EXPECT_TRUE(task);
EXPECT_TRUE(cache.IsInInUseCacheForTesting(draw_image));

Powered by Google App Engine
This is Rietveld 408576698