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 828a93a42bb2649d483384a895cff3754b319c48..2c057dd13da8941610df856f2e4af0f3d790ee7e 100644 |
--- a/cc/layers/heads_up_display_layer_impl_unittest.cc |
+++ b/cc/layers/heads_up_display_layer_impl_unittest.cc |
@@ -36,7 +36,8 @@ |
TestSharedBitmapManager shared_bitmap_manager; |
FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager); |
host_impl.CreatePendingTree(); |
- host_impl.InitializeRenderer(FakeOutputSurface::Create3d()); |
+ host_impl.InitializeRenderer( |
+ FakeOutputSurface::Create3d().PassAs<OutputSurface>()); |
scoped_ptr<HeadsUpDisplayLayerImpl> layer = |
HeadsUpDisplayLayerImpl::Create(host_impl.pending_tree(), 1); |
layer->SetContentBounds(gfx::Size(100, 100)); |