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