Index: cc/layers/heads_up_display_layer_impl_unittest.cc |
diff --git a/cc/layers/heads_up_display_layer_impl_unittest.cc b/cc/layers/heads_up_display_layer_impl_unittest.cc |
index ab38fdd087dd3db2a28a4d54e766d52efd02c07c..b0a65dff3dccb718e0391c78cece627ace1a0f2c 100644 |
--- a/cc/layers/heads_up_display_layer_impl_unittest.cc |
+++ b/cc/layers/heads_up_display_layer_impl_unittest.cc |
@@ -8,6 +8,7 @@ |
#include "cc/test/fake_layer_tree_host_impl.h" |
#include "cc/test/fake_output_surface.h" |
#include "cc/test/test_shared_bitmap_manager.h" |
+#include "cc/test/test_task_graph_runner.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace cc { |
@@ -32,7 +33,9 @@ void CheckDrawLayer(HeadsUpDisplayLayerImpl* layer, |
TEST(HeadsUpDisplayLayerImplTest, ResourcelessSoftwareDrawAfterResourceLoss) { |
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); |
host_impl.CreatePendingTree(); |
host_impl.InitializeRenderer(FakeOutputSurface::Create3d()); |
scoped_ptr<HeadsUpDisplayLayerImpl> layer = |