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

Unified Diff: cc/test/layer_tree_test.cc

Issue 2822143003: Remove ForceReclaimResources (Closed)
Patch Set: Rebase. Created 3 years, 8 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_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 60077ec082d0e944523091ef1d2a3514f9fb6a84..45a2a916726ef7f16aa935878e4c48a237f8ddc0 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -854,14 +854,11 @@ LayerTreeTest::CreateCompositorFrameSink(
bool synchronous_composite =
!HasImplThread() &&
!layer_tree_host()->GetSettings().single_thread_proxy_scheduler;
- // Disable reclaim resources by default to act like the Display lives
- // out-of-process.
- bool force_disable_reclaim_resources = true;
return base::MakeUnique<TestCompositorFrameSink>(
compositor_context_provider, std::move(worker_context_provider),
shared_bitmap_manager(), gpu_memory_buffer_manager(),
layer_tree_host()->GetSettings().renderer_settings, impl_task_runner_,
- synchronous_composite, force_disable_reclaim_resources);
+ synchronous_composite);
}
std::unique_ptr<OutputSurface>

Powered by Google App Engine
This is Rietveld 408576698