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

Unified Diff: cc/test/layer_tree_pixel_test.cc

Issue 2609253003: Remove ForceReclaimResources (Closed)
Patch Set: cleanup Created 3 years, 11 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
Index: cc/test/layer_tree_pixel_test.cc
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc
index 9c02fbf119ef4cde8c64ceb7099e065927645aba..04646fdaa8ea38d4b64d90d05f57cf22643f7d6e 100644
--- a/cc/test/layer_tree_pixel_test.cc
+++ b/cc/test/layer_tree_pixel_test.cc
@@ -51,14 +51,10 @@ std::unique_ptr<TestCompositorFrameSink>
bool synchronous_composite =
!HasImplThread() &&
!layer_tree_host()->GetSettings().single_thread_proxy_scheduler;
- // Allow resource reclaiming for partial raster tests to get back
- // resources from the Display.
- bool force_disable_reclaim_resources = false;
auto delegating_output_surface = base::MakeUnique<TestCompositorFrameSink>(
compositor_context_provider, std::move(worker_context_provider),
shared_bitmap_manager(), gpu_memory_buffer_manager(), RendererSettings(),
- ImplThreadTaskRunner(), synchronous_composite,
- force_disable_reclaim_resources);
+ ImplThreadTaskRunner(), synchronous_composite);
delegating_output_surface->SetEnlargePassTextureAmount(
enlarge_texture_amount_);
return delegating_output_surface;

Powered by Google App Engine
This is Rietveld 408576698