Index: cc/layers/ui_resource_layer_impl_unittest.cc |
diff --git a/cc/layers/ui_resource_layer_impl_unittest.cc b/cc/layers/ui_resource_layer_impl_unittest.cc |
index 826c53f8181a953eb8e54bffbd77aeb197d9aae7..e31d68ae6e59e740fcdd9706de39e262f9ea7d64 100644 |
--- a/cc/layers/ui_resource_layer_impl_unittest.cc |
+++ b/cc/layers/ui_resource_layer_impl_unittest.cc |
@@ -60,10 +60,9 @@ |
FakeImplProxy proxy; |
TestSharedBitmapManager shared_bitmap_manager; |
TestTaskGraphRunner task_graph_runner; |
- scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d(); |
FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, |
&task_graph_runner); |
- host_impl.InitializeRenderer(output_surface.get()); |
+ host_impl.InitializeRenderer(FakeOutputSurface::Create3d()); |
// Make sure we're appending quads when there are valid values. |
gfx::Size bitmap_size(100, 100); |
@@ -107,10 +106,9 @@ |
FakeImplProxy proxy; |
TestSharedBitmapManager shared_bitmap_manager; |
TestTaskGraphRunner task_graph_runner; |
- scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d(); |
FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, |
&task_graph_runner); |
- host_impl.InitializeRenderer(output_surface.get()); |
+ host_impl.InitializeRenderer(FakeOutputSurface::Create3d()); |
gfx::Size bitmap_size(100, 100); |
gfx::Size layer_size(100, 100);; |
@@ -138,10 +136,9 @@ |
FakeImplProxy proxy; |
TestSharedBitmapManager shared_bitmap_manager; |
TestTaskGraphRunner task_graph_runner; |
- scoped_ptr<OutputSurface> output_surface = FakeOutputSurface::Create3d(); |
FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, |
&task_graph_runner); |
- host_impl.InitializeRenderer(output_surface.get()); |
+ host_impl.InitializeRenderer(FakeOutputSurface::Create3d()); |
gfx::Size bitmap_size(100, 100); |
gfx::Size layer_size(100, 100); |