Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index d9f1a22aefd1c60effdaa1f527280a69a8ceda65..dca48aa091d89ac76390d1761f27ffdbb74303a8 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -2174,11 +2174,12 @@ void LayerTreeHostImpl::CreateTileManagerResources() { |
image_decode_cache_ = base::MakeUnique<GpuImageDecodeCache>( |
compositor_frame_sink_->worker_context_provider(), |
settings_.renderer_settings.preferred_tile_format, |
- settings_.gpu_decoded_image_budget_bytes); |
+ settings_.decoded_image_working_set_budget_bytes, |
+ settings_.decoded_image_cache_budget_bytes); |
} else { |
image_decode_cache_ = base::MakeUnique<SoftwareImageDecodeCache>( |
settings_.renderer_settings.preferred_tile_format, |
- settings_.software_decoded_image_budget_bytes); |
+ settings_.decoded_image_working_set_budget_bytes); |
} |
// Pass the single-threaded synchronous task graph runner to the worker pool |