Index: cc/blink/web_layer_impl_fixed_bounds_unittest.cc |
diff --git a/cc/blink/web_layer_impl_fixed_bounds_unittest.cc b/cc/blink/web_layer_impl_fixed_bounds_unittest.cc |
index e8f48358e824e4301fa4b4a24e609bde45cbb19c..f4393661b365469bc7071df30e40f29b9b7bf095 100644 |
--- a/cc/blink/web_layer_impl_fixed_bounds_unittest.cc |
+++ b/cc/blink/web_layer_impl_fixed_bounds_unittest.cc |
@@ -104,7 +104,9 @@ void CompareFixedBoundsLayerAndNormalLayer(const WebFloatPoint& anchor_point, |
normal_layer->setPosition(position); |
root_layer->addChild(normal_layer); |
- scoped_ptr<cc::FakeLayerTreeHost> host = cc::FakeLayerTreeHost::Create(); |
+ cc::FakeLayerTreeHostClient client(cc::FakeLayerTreeHostClient::DIRECT_3D); |
+ scoped_ptr<cc::FakeLayerTreeHost> host = |
+ cc::FakeLayerTreeHost::Create(&client); |
host->SetRootLayer(root_layer->layer()); |
{ |