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

Unified Diff: cc/test/fake_tile_manager.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 | « 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/test/fake_tile_manager.cc
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc
index 2297312e23f660a692db04b7532f9ea56cc9b950..e7b1bea82edaf6e6e1f98bcee6cc30043941bcd5 100644
--- a/cc/test/fake_tile_manager.cc
+++ b/cc/test/fake_tile_manager.cc
@@ -43,7 +43,7 @@ FakeTileManager::FakeTileManager(TileManagerClient* client,
TileManagerSettings()),
image_decode_cache_(
ResourceFormat::RGBA_8888,
- LayerTreeSettings().software_decoded_image_budget_bytes) {
+ LayerTreeSettings().decoded_image_working_set_budget_bytes) {
SetDecodedImageTracker(&decoded_image_tracker_);
SetResources(resource_pool, &image_decode_cache_, GetGlobalTaskGraphRunner(),
GetGlobalRasterBufferProvider(),
« 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