| 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 efad2649ec16aaf6f26bb82e36343adf40aad03b..567b21ec00df13597cc6a3e3fb7406fb01de3428 100644
|
| --- a/cc/layers/contents_scaling_layer_unittest.cc
|
| +++ b/cc/layers/contents_scaling_layer_unittest.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "cc/test/fake_layer_tree_host.h"
|
| #include "cc/test/geometry_test_utils.h"
|
| +#include "cc/test/test_task_graph_runner.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace cc {
|
| @@ -45,7 +46,9 @@ TEST(ContentsScalingLayerTest, CheckContentsBounds) {
|
| LayerSettings layer_settings;
|
|
|
| FakeLayerTreeHostClient client(FakeLayerTreeHostClient::DIRECT_3D);
|
| - scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&client);
|
| + TestTaskGraphRunner task_graph_runner;
|
| + scoped_ptr<FakeLayerTreeHost> host =
|
| + FakeLayerTreeHost::Create(&client, &task_graph_runner);
|
|
|
| scoped_refptr<MockContentsScalingLayer> test_layer =
|
| make_scoped_refptr(new MockContentsScalingLayer(layer_settings));
|
|
|