Index: cc/test/layer_test_common.cc |
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc |
index be3606fae90efc8875a2131af8fc949771bd7bd8..287088725ac999d8da14b6bdd116b67f0e769bfd 100644 |
--- a/cc/test/layer_test_common.cc |
+++ b/cc/test/layer_test_common.cc |
@@ -112,8 +112,7 @@ LayerTestCommon::LayerImplTest::LayerImplTest() |
root_layer_impl_(LayerImpl::Create(host_->host_impl()->active_tree(), 1)), |
render_pass_(RenderPass::Create()) { |
scoped_ptr<FakeOutputSurface> output_surface = FakeOutputSurface::Create3d(); |
- host_->host_impl()->InitializeRenderer( |
- output_surface.PassAs<OutputSurface>()); |
+ host_->host_impl()->InitializeRenderer(FakeOutputSurface::Create3d()); |
} |
LayerTestCommon::LayerImplTest::~LayerImplTest() {} |