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

Unified Diff: cc/test/layer_tree_pixel_resource_test.cc

Issue 2254033002: Encourage IOSurface reuse for CSS filter effects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from ericrk. Created 4 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/test/fake_picture_layer_tiling_client.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_pixel_resource_test.cc
diff --git a/cc/test/layer_tree_pixel_resource_test.cc b/cc/test/layer_tree_pixel_resource_test.cc
index ca8cf5bdb3583f2ce819c7941c199bc4182ae72c..718b74eca82e596b8e1e1ab4891c11488790113d 100644
--- a/cc/test/layer_tree_pixel_resource_test.cc
+++ b/cc/test/layer_tree_pixel_resource_test.cc
@@ -124,7 +124,8 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndRasterBufferProvider(
int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024;
// Create resource pool.
- *resource_pool = ResourcePool::Create(resource_provider, task_runner);
+ *resource_pool = ResourcePool::Create(resource_provider, task_runner,
+ ResourcePool::kDefaultExpirationDelay);
switch (raster_buffer_provider_type_) {
case RASTER_BUFFER_PROVIDER_TYPE_BITMAP:
« no previous file with comments | « cc/test/fake_picture_layer_tiling_client.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698