| Index: cc/layers/layer_impl_unittest.cc
|
| diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc
|
| index 713a99d4b73709b216df647cb4be0a903853b32d..5a794ab264f1519799c737942c36b18b87cc9192 100644
|
| --- a/cc/layers/layer_impl_unittest.cc
|
| +++ b/cc/layers/layer_impl_unittest.cc
|
| @@ -88,7 +88,9 @@ TEST(LayerImplTest, VerifyLayerChangesAreTrackedProperly) {
|
| // Create a simple LayerImpl tree:
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| - FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, nullptr);
|
| + TestTaskGraphRunner task_graph_runner;
|
| + FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| + &task_graph_runner);
|
| EXPECT_TRUE(host_impl.InitializeRenderer(FakeOutputSurface::Create3d()));
|
| scoped_ptr<LayerImpl> root_clip =
|
| LayerImpl::Create(host_impl.active_tree(), 1);
|
| @@ -251,7 +253,9 @@ TEST(LayerImplTest, VerifyLayerChangesAreTrackedProperly) {
|
| TEST(LayerImplTest, VerifyNeedsUpdateDrawProperties) {
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| - FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, nullptr);
|
| + TestTaskGraphRunner task_graph_runner;
|
| + FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| + &task_graph_runner);
|
| EXPECT_TRUE(host_impl.InitializeRenderer(FakeOutputSurface::Create3d()));
|
| host_impl.active_tree()->SetRootLayer(
|
| LayerImpl::Create(host_impl.active_tree(), 1));
|
| @@ -369,7 +373,9 @@ TEST(LayerImplTest, VerifyNeedsUpdateDrawProperties) {
|
| TEST(LayerImplTest, SafeOpaqueBackgroundColor) {
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| - FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, nullptr);
|
| + TestTaskGraphRunner task_graph_runner;
|
| + FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| + &task_graph_runner);
|
| EXPECT_TRUE(host_impl.InitializeRenderer(FakeOutputSurface::Create3d()));
|
| scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1);
|
|
|
| @@ -400,7 +406,9 @@ TEST(LayerImplTest, SafeOpaqueBackgroundColor) {
|
| TEST(LayerImplTest, TransformInvertibility) {
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| - FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, nullptr);
|
| + TestTaskGraphRunner task_graph_runner;
|
| + FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| + &task_graph_runner);
|
|
|
| scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1);
|
| EXPECT_TRUE(layer->transform().IsInvertible());
|
|
|