Index: cc/layers/layer_iterator_unittest.cc |
diff --git a/cc/layers/layer_iterator_unittest.cc b/cc/layers/layer_iterator_unittest.cc |
index a7f85b763131390fdfd8c6e693f64c649f304944..1daa923c37df573fb504e91a13dfbdc0580cda09 100644 |
--- a/cc/layers/layer_iterator_unittest.cc |
+++ b/cc/layers/layer_iterator_unittest.cc |
@@ -111,7 +111,8 @@ TEST(LayerIteratorTest, SimpleTree) { |
root_layer->AddChild(third); |
root_layer->AddChild(fourth); |
- scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(); |
+ FakeLayerTreeHostClient client(FakeLayerTreeHostClient::DIRECT_3D); |
+ scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&client); |
host->SetRootLayer(root_layer); |
RenderSurfaceLayerList render_surface_layer_list; |
@@ -147,7 +148,8 @@ TEST(LayerIteratorTest, ComplexTree) { |
root22->AddChild(root221); |
root23->AddChild(root231); |
- scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(); |
+ FakeLayerTreeHostClient client(FakeLayerTreeHostClient::DIRECT_3D); |
+ scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&client); |
host->SetRootLayer(root_layer); |
RenderSurfaceLayerList render_surface_layer_list; |
@@ -192,7 +194,8 @@ TEST(LayerIteratorTest, ComplexTreeMultiSurface) { |
root23->SetOpacity(0.5f); |
root23->AddChild(root231); |
- scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(); |
+ FakeLayerTreeHostClient client(FakeLayerTreeHostClient::DIRECT_3D); |
+ scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&client); |
host->SetRootLayer(root_layer); |
RenderSurfaceLayerList render_surface_layer_list; |