Index: cc/test/layer_test_common.cc |
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc |
index 762e82d9a50e08f81c25476ca9b197d52f11150a..99d3c1c06996a613ad9e3907230ed7c534d74e01 100644 |
--- a/cc/test/layer_test_common.cc |
+++ b/cc/test/layer_test_common.cc |
@@ -103,6 +103,7 @@ LayerTestCommon::LayerImplTest::LayerImplTest() |
host_(FakeLayerTreeHost::Create(&client_)), |
root_layer_impl_(LayerImpl::Create(host_->host_impl()->active_tree(), 1)), |
render_pass_(RenderPass::Create()) { |
+ root_layer_impl_->SetHasRenderSurface(true); |
scoped_ptr<FakeOutputSurface> output_surface = FakeOutputSurface::Create3d(); |
host_->host_impl()->InitializeRenderer(FakeOutputSurface::Create3d()); |
} |