| Index: cc/layers/layer_impl_unittest.cc
|
| diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc
|
| index 7404e4e266323a981d7d0869c9ae41978f545aa3..0676597eb760f87922263ecca98ea3d1423dc43f 100644
|
| --- a/cc/layers/layer_impl_unittest.cc
|
| +++ b/cc/layers/layer_impl_unittest.cc
|
| @@ -89,10 +89,9 @@
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| TestTaskGraphRunner task_graph_runner;
|
| - scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d();
|
| FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| &task_graph_runner);
|
| - EXPECT_TRUE(host_impl.InitializeRenderer(output_surface.get()));
|
| + EXPECT_TRUE(host_impl.InitializeRenderer(FakeOutputSurface::Create3d()));
|
| scoped_ptr<LayerImpl> root_clip =
|
| LayerImpl::Create(host_impl.active_tree(), 1);
|
| scoped_ptr<LayerImpl> root_ptr =
|
| @@ -248,10 +247,9 @@
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| TestTaskGraphRunner task_graph_runner;
|
| - scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d();
|
| FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| &task_graph_runner);
|
| - EXPECT_TRUE(host_impl.InitializeRenderer(output_surface.get()));
|
| + EXPECT_TRUE(host_impl.InitializeRenderer(FakeOutputSurface::Create3d()));
|
| host_impl.active_tree()->SetRootLayer(
|
| LayerImpl::Create(host_impl.active_tree(), 1));
|
| LayerImpl* root = host_impl.active_tree()->root_layer();
|
| @@ -363,10 +361,9 @@
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| TestTaskGraphRunner task_graph_runner;
|
| - scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d();
|
| FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| &task_graph_runner);
|
| - EXPECT_TRUE(host_impl.InitializeRenderer(output_surface.get()));
|
| + EXPECT_TRUE(host_impl.InitializeRenderer(FakeOutputSurface::Create3d()));
|
| scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1);
|
|
|
| for (int contents_opaque = 0; contents_opaque < 2; ++contents_opaque) {
|
|
|