Index: cc/layers/contents_scaling_layer_unittest.cc |
diff --git a/cc/layers/contents_scaling_layer_unittest.cc b/cc/layers/contents_scaling_layer_unittest.cc |
index a75046d932d0703634406bfd350d2aaf52d99d36..70f66f551542420e5601d90cfd5afe8994841771 100644 |
--- a/cc/layers/contents_scaling_layer_unittest.cc |
+++ b/cc/layers/contents_scaling_layer_unittest.cc |
@@ -42,7 +42,8 @@ static void CalcDrawProps(FakeLayerTreeHost* host, float device_scale_factor) { |
} |
TEST(ContentsScalingLayerTest, CheckContentsBounds) { |
- scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(); |
+ FakeLayerTreeHostClient client(FakeLayerTreeHostClient::DIRECT_3D); |
+ scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&client); |
scoped_refptr<MockContentsScalingLayer> test_layer = |
make_scoped_refptr(new MockContentsScalingLayer()); |