| Index: cc/layers/picture_layer_impl_unittest.cc
|
| diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
|
| index 4406450b165448c014e6b7d2ce88fb940520c06b..9b90e880ef208d2ffbe2aa2ccf54bcc5d41dfbae 100644
|
| --- a/cc/layers/picture_layer_impl_unittest.cc
|
| +++ b/cc/layers/picture_layer_impl_unittest.cc
|
| @@ -4233,7 +4233,8 @@ void PictureLayerImplTest::TestQuadsForSolidColor(bool test_for_solid) {
|
|
|
| FakeContentLayerClient client;
|
| scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client);
|
| - scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create();
|
| + FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D);
|
| + scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&host_client);
|
| host->SetRootLayer(layer);
|
| PicturePile* pile = layer->GetPicturePileForTesting();
|
|
|
| @@ -4308,7 +4309,8 @@ TEST_F(PictureLayerImplTest, NonSolidToSolidNoTilings) {
|
|
|
| FakeContentLayerClient client;
|
| scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client);
|
| - scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create();
|
| + FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D);
|
| + scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&host_client);
|
| host->SetRootLayer(layer);
|
| PicturePile* pile = layer->GetPicturePileForTesting();
|
|
|
|
|