Index: cc/layers/heads_up_display_layer_impl_unittest.cc |
diff --git a/cc/layers/heads_up_display_layer_impl_unittest.cc b/cc/layers/heads_up_display_layer_impl_unittest.cc |
index ef377838571de4966de58defbd5944eec91a8acb..ad2215595aa61b99717b57c9f4f9d3ff4a972e5d 100644 |
--- a/cc/layers/heads_up_display_layer_impl_unittest.cc |
+++ b/cc/layers/heads_up_display_layer_impl_unittest.cc |
@@ -34,11 +34,10 @@ |
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); |
host_impl.CreatePendingTree(); |
- host_impl.InitializeRenderer(output_surface.get()); |
+ host_impl.InitializeRenderer(FakeOutputSurface::Create3d()); |
scoped_ptr<HeadsUpDisplayLayerImpl> layer = |
HeadsUpDisplayLayerImpl::Create(host_impl.pending_tree(), 1); |
layer->SetBounds(gfx::Size(100, 100)); |