Index: cc/input/top_controls_manager_unittest.cc |
diff --git a/cc/input/top_controls_manager_unittest.cc b/cc/input/top_controls_manager_unittest.cc |
index 4145cac8e32a75ca991777924f400f96e3b470b1..52e46e674ed26c064124b0c210b9df3eb709205e 100644 |
--- a/cc/input/top_controls_manager_unittest.cc |
+++ b/cc/input/top_controls_manager_unittest.cc |
@@ -15,6 +15,7 @@ |
#include "cc/test/fake_impl_proxy.h" |
#include "cc/test/fake_layer_tree_host_impl.h" |
#include "cc/test/test_shared_bitmap_manager.h" |
+#include "cc/test/test_task_graph_runner.h" |
#include "cc/trees/layer_tree_impl.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/gfx/frame_time.h" |
@@ -28,7 +29,7 @@ class MockTopControlsManagerClient : public TopControlsManagerClient { |
MockTopControlsManagerClient(float top_controls_height, |
float top_controls_show_threshold, |
float top_controls_hide_threshold) |
- : host_impl_(&proxy_, &shared_bitmap_manager_), |
+ : host_impl_(&proxy_, &shared_bitmap_manager_, &task_graph_runner_), |
redraw_needed_(false), |
update_draw_properties_needed_(false), |
top_controls_shown_ratio_(1.f), |
@@ -83,6 +84,7 @@ class MockTopControlsManagerClient : public TopControlsManagerClient { |
private: |
FakeImplProxy proxy_; |
TestSharedBitmapManager shared_bitmap_manager_; |
+ TestTaskGraphRunner task_graph_runner_; |
FakeLayerTreeHostImpl host_impl_; |
scoped_ptr<LayerTreeImpl> active_tree_; |
scoped_ptr<LayerImpl> root_scroll_layer_; |