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

Unified Diff: cc/raster/raster_source_unittest.cc

Issue 2780843002: Split image decode cache limits into "working set" vs "cache" limits (Closed)
Patch Set: comments Created 3 years, 9 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 | « no previous file | cc/test/fake_tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/raster_source_unittest.cc
diff --git a/cc/raster/raster_source_unittest.cc b/cc/raster/raster_source_unittest.cc
index 743f84ebb5888045bbf2d8bfbf4695e8af4f0ce9..4ec8c94b6f2d5852b12cd2b7a65cb17bbe093ee2 100644
--- a/cc/raster/raster_source_unittest.cc
+++ b/cc/raster/raster_source_unittest.cc
@@ -583,7 +583,7 @@ TEST(RasterSourceTest, ImageHijackCanvasRespectsSharedCanvasTransform) {
recording_source->CreateRasterSource(can_use_lcd);
SoftwareImageDecodeCache controller(
ResourceFormat::RGBA_8888,
- LayerTreeSettings().software_decoded_image_budget_bytes);
+ LayerTreeSettings().decoded_image_working_set_budget_bytes);
raster_source->set_image_decode_cache(&controller);
SkBitmap bitmap;
« no previous file with comments | « no previous file | cc/test/fake_tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698