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

Unified Diff: cc/tiles/tile_manager_perftest.cc

Issue 1293873005: Expire resources in ResourcePool after non-use (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@re-use
Patch Set: Fix unit test Created 5 years, 4 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/tiles/tile_manager.cc ('k') | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager_perftest.cc
diff --git a/cc/tiles/tile_manager_perftest.cc b/cc/tiles/tile_manager_perftest.cc
index eea9b94922b40dd507361291996cb0aa797d5ebe..6a855669f0952140cc32e79ac2dfeaa703ea566f 100644
--- a/cc/tiles/tile_manager_perftest.cc
+++ b/cc/tiles/tile_manager_perftest.cc
@@ -111,7 +111,7 @@ class TileManagerPerfTest : public testing::Test {
global_state_ = state;
host_impl_.resource_pool()->SetResourceUsageLimits(
- state.soft_memory_limit_in_bytes, 0, state.num_resources_limit);
+ state.soft_memory_limit_in_bytes, state.num_resources_limit);
host_impl_.tile_manager()->SetGlobalStateForTesting(state);
}
« no previous file with comments | « cc/tiles/tile_manager.cc ('k') | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698