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

Unified Diff: cc/test/test_layer_tree_host_base.cc

Issue 2452483002: Move GpuMemoryBufferManager and SharedBitmapManager to CompositorFrameSink (Closed)
Patch Set: rebase Created 4 years, 2 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/test_layer_tree_host_base.h ('k') | cc/tiles/picture_layer_tiling_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_layer_tree_host_base.cc
diff --git a/cc/test/test_layer_tree_host_base.cc b/cc/test/test_layer_tree_host_base.cc
index 580319579478475f5bb0184c2aed058ccbdfb3aa..80aacc4c288a78c5bf956cd96782fe22d31f4b6d 100644
--- a/cc/test/test_layer_tree_host_base.cc
+++ b/cc/test/test_layer_tree_host_base.cc
@@ -24,8 +24,7 @@ void TestLayerTreeHostBase::SetUp() {
compositor_frame_sink_ = CreateCompositorFrameSink();
task_graph_runner_ = CreateTaskGraphRunner();
host_impl_ = CreateHostImpl(CreateSettings(), &task_runner_provider_,
- &shared_bitmap_manager_, task_graph_runner_.get(),
- &gpu_memory_buffer_manager_);
+ task_graph_runner_.get());
InitializeRenderer();
SetInitialTreePriority();
}
@@ -44,12 +43,9 @@ TestLayerTreeHostBase::CreateCompositorFrameSink() {
std::unique_ptr<FakeLayerTreeHostImpl> TestLayerTreeHostBase::CreateHostImpl(
const LayerTreeSettings& settings,
TaskRunnerProvider* task_runner_provider,
- SharedBitmapManager* shared_bitmap_manager,
- TaskGraphRunner* task_graph_runner,
- gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) {
- return base::MakeUnique<FakeLayerTreeHostImpl>(
- settings, task_runner_provider, shared_bitmap_manager, task_graph_runner,
- gpu_memory_buffer_manager);
+ TaskGraphRunner* task_graph_runner) {
+ return base::MakeUnique<FakeLayerTreeHostImpl>(settings, task_runner_provider,
+ task_graph_runner);
}
std::unique_ptr<TaskGraphRunner>
« no previous file with comments | « cc/test/test_layer_tree_host_base.h ('k') | cc/tiles/picture_layer_tiling_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698