Index: cc/layers/picture_image_layer_impl_unittest.cc |
diff --git a/cc/layers/picture_image_layer_impl_unittest.cc b/cc/layers/picture_image_layer_impl_unittest.cc |
index 3d2d38e963b8d177657a17e6c216a8d0308ed0a8..87c4e58885f117ab676215ebf90ee9ba4a2b25d7 100644 |
--- a/cc/layers/picture_image_layer_impl_unittest.cc |
+++ b/cc/layers/picture_image_layer_impl_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "cc/test/fake_picture_pile_impl.h" |
#include "cc/test/impl_side_painting_settings.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" |
@@ -37,7 +38,8 @@ class PictureImageLayerImplTest : public testing::Test { |
: proxy_(base::MessageLoopProxy::current()), |
host_impl_(ImplSidePaintingSettings(), |
&proxy_, |
- &shared_bitmap_manager_) { |
+ &shared_bitmap_manager_, |
+ &task_graph_runner_) { |
host_impl_.CreatePendingTree(); |
host_impl_.InitializeRenderer(FakeOutputSurface::Create3d()); |
} |
@@ -82,8 +84,9 @@ class PictureImageLayerImplTest : public testing::Test { |
protected: |
FakeImplProxy proxy_; |
- FakeLayerTreeHostImpl host_impl_; |
TestSharedBitmapManager shared_bitmap_manager_; |
+ TestTaskGraphRunner task_graph_runner_; |
+ FakeLayerTreeHostImpl host_impl_; |
}; |
TEST_F(PictureImageLayerImplTest, CalculateContentsScale) { |