summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_settings.cc
diff options
context:
space:
mode:
authorericrk <ericrk@chromium.org>2015-08-25 11:52:32 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-25 18:53:06 +0000
commit289d1f6ba870b30cbf4a19d114b2ee4fc23f893f (patch)
tree4e088301eabbaa052c2740bf2370da295016e127 /cc/trees/layer_tree_settings.cc
parente7468ae61d45724937b333738d2b021365863df4 (diff)
downloadchromium_src-289d1f6ba870b30cbf4a19d114b2ee4fc23f893f.zip
chromium_src-289d1f6ba870b30cbf4a19d114b2ee4fc23f893f.tar.gz
chromium_src-289d1f6ba870b30cbf4a19d114b2ee4fc23f893f.tar.bz2
Evict resources from resource pool after timeout
This change adds a one second expiration to all resources in a ResourcePool. Resource that have not been used within the expiration period are deleted. This eviction compliments (but doesn't replace) the hard-limit based eviction that already occurs. We rely on freeing resources to our hard-limits in TileManager, so we don't want to replace that logic with something less deterministic. BUG=520734,224475 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1293873005 Cr-Commit-Position: refs/heads/master@{#345396}
Diffstat (limited to 'cc/trees/layer_tree_settings.cc')
-rw-r--r--cc/trees/layer_tree_settings.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc
index 9d0dcb8..177741b 100644
--- a/cc/trees/layer_tree_settings.cc
+++ b/cc/trees/layer_tree_settings.cc
@@ -55,7 +55,6 @@ LayerTreeSettings::LayerTreeSettings()
tiling_interest_area_padding(3000),
skewport_target_time_in_seconds(1.0f),
skewport_extrapolation_limit_in_content_pixels(2000),
- max_unused_resource_memory_percentage(100),
max_memory_for_prepaint_percentage(100),
strict_layer_property_change_checking(false),
use_one_copy(true),