Index: cc/test/layer_test_common.cc |
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc |
index b7c415b7c6e5ee77f1efc8365a6bd813f4f192cf..50c2cdafbaca63c01ccb322d89295f29a80ff1bf 100644 |
--- a/cc/test/layer_test_common.cc |
+++ b/cc/test/layer_test_common.cc |
@@ -104,6 +104,7 @@ LayerTestCommon::LayerImplTest::LayerImplTest() |
: host_(FakeLayerTreeHost::Create()), |
root_layer_impl_(LayerImpl::Create(host_->host_impl()->active_tree(), 1)), |
render_pass_(RenderPass::Create()) { |
+ root_layer_impl_->CreateRenderSurface(); |
scoped_ptr<FakeOutputSurface> output_surface = FakeOutputSurface::Create3d(); |
host_->host_impl()->InitializeRenderer( |
output_surface.PassAs<OutputSurface>()); |