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

Unified Diff: cc/layers/nine_patch_layer_impl_unittest.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/layers/layer_utils_unittest.cc ('k') | cc/layers/picture_layer_impl_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/nine_patch_layer_impl_unittest.cc
diff --git a/cc/layers/nine_patch_layer_impl_unittest.cc b/cc/layers/nine_patch_layer_impl_unittest.cc
index 0fe9bf20f556966dba946732a14d3f097de6e793..9f7bcf4609393600c80b4d4ab72f4a76b7d3ae8e 100644
--- a/cc/layers/nine_patch_layer_impl_unittest.cc
+++ b/cc/layers/nine_patch_layer_impl_unittest.cc
@@ -44,12 +44,11 @@ void NinePatchLayerLayoutTest(const gfx::Size& bitmap_size,
layer_size.height() - border.height());
FakeImplTaskRunnerProvider task_runner_provider;
- TestSharedBitmapManager shared_bitmap_manager;
TestTaskGraphRunner task_graph_runner;
std::unique_ptr<CompositorFrameSink> compositor_frame_sink =
FakeCompositorFrameSink::Create3d();
- FakeUIResourceLayerTreeHostImpl host_impl(
- &task_runner_provider, &shared_bitmap_manager, &task_graph_runner);
+ FakeUIResourceLayerTreeHostImpl host_impl(&task_runner_provider,
+ &task_graph_runner);
host_impl.SetVisible(true);
host_impl.InitializeRenderer(compositor_frame_sink.get());
@@ -149,12 +148,11 @@ void NinePatchLayerLayoutTestWithOcclusion(const gfx::Size& bitmap_size,
bitmap_size.height() - image_remaining_bottom - image_remaining_top);
FakeImplTaskRunnerProvider task_runner_provider;
- TestSharedBitmapManager shared_bitmap_manager;
TestTaskGraphRunner task_graph_runner;
std::unique_ptr<CompositorFrameSink> compositor_frame_sink =
FakeCompositorFrameSink::Create3d();
- FakeUIResourceLayerTreeHostImpl host_impl(
- &task_runner_provider, &shared_bitmap_manager, &task_graph_runner);
+ FakeUIResourceLayerTreeHostImpl host_impl(&task_runner_provider,
+ &task_graph_runner);
host_impl.SetVisible(true);
host_impl.InitializeRenderer(compositor_frame_sink.get());
« no previous file with comments | « cc/layers/layer_utils_unittest.cc ('k') | cc/layers/picture_layer_impl_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698