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..b2ecc8ae9e8d4ce3170b8ee3d293ac367c867aed 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_->SetHasRenderSurface(true); |
scoped_ptr<FakeOutputSurface> output_surface = FakeOutputSurface::Create3d(); |
host_->host_impl()->InitializeRenderer( |
output_surface.PassAs<OutputSurface>()); |