diff options
Diffstat (limited to 'cc/layers/layer_perftest.cc')
-rw-r--r-- | cc/layers/layer_perftest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/layers/layer_perftest.cc b/cc/layers/layer_perftest.cc index 0b4c852..72b2e13 100644 --- a/cc/layers/layer_perftest.cc +++ b/cc/layers/layer_perftest.cc @@ -10,7 +10,7 @@ #include "cc/test/fake_layer_tree_host.h" #include "cc/test/fake_layer_tree_host_client.h" #include "cc/test/fake_layer_tree_host_impl.h" - +#include "cc/test/test_task_graph_runner.h" #include "testing/gtest/include/gtest/gtest.h" #include "testing/perf/perf_test.h" @@ -30,7 +30,7 @@ class MockLayerPainter : public LayerPainter { class LayerPerfTest : public testing::Test { public: LayerPerfTest() - : host_impl_(&proxy_, &shared_bitmap_manager_), + : host_impl_(&proxy_, &shared_bitmap_manager_, &task_graph_runner_), fake_client_(FakeLayerTreeHostClient::DIRECT_3D), timer_(kWarmupRuns, base::TimeDelta::FromMilliseconds(kTimeLimitMillis), @@ -50,6 +50,7 @@ class LayerPerfTest : public testing::Test { FakeImplProxy proxy_; TestSharedBitmapManager shared_bitmap_manager_; + TestTaskGraphRunner task_graph_runner_; FakeLayerTreeHostImpl host_impl_; FakeLayerTreeHostClient fake_client_; |