Index: cc/test/layer_test_common.cc |
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc |
index 7a0de163cde2c1c21aa67336a1e969dc0b0f214a..e5c1801b538846d9c268d19c3b1ebb6f9672b4e6 100644 |
--- a/cc/test/layer_test_common.cc |
+++ b/cc/test/layer_test_common.cc |
@@ -101,7 +101,8 @@ void LayerTestCommon::VerifyQuadsCoverRectWithOcclusion( |
} |
LayerTestCommon::LayerImplTest::LayerImplTest() |
- : host_(FakeLayerTreeHost::Create()), |
+ : client_(FakeLayerTreeHostClient::DIRECT_3D), |
+ host_(FakeLayerTreeHost::Create(&client_)), |
root_layer_impl_(LayerImpl::Create(host_->host_impl()->active_tree(), 1)), |
render_pass_(RenderPass::Create()) { |
scoped_ptr<FakeOutputSurface> output_surface = FakeOutputSurface::Create3d(); |