| Index: cc/layers/picture_image_layer_unittest.cc
|
| diff --git a/cc/layers/picture_image_layer_unittest.cc b/cc/layers/picture_image_layer_unittest.cc
|
| index 572ee7a0a3af7e27f27fa5c70493d16263781f61..2280494bd4c33e5cf0ad6254860512e965b6dcdf 100644
|
| --- a/cc/layers/picture_image_layer_unittest.cc
|
| +++ b/cc/layers/picture_image_layer_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "cc/layers/picture_image_layer.h"
|
|
|
| +#include "cc/animation/animation_host.h"
|
| #include "cc/playback/display_item.h"
|
| #include "cc/test/fake_layer_tree_host.h"
|
| #include "cc/test/skia_common.h"
|
| @@ -21,8 +22,9 @@ TEST(PictureImageLayerTest, PaintContentsToDisplayList) {
|
| scoped_refptr<PictureImageLayer> layer = PictureImageLayer::Create();
|
| FakeLayerTreeHostClient client;
|
| TestTaskGraphRunner task_graph_runner;
|
| - std::unique_ptr<FakeLayerTreeHost> host =
|
| - FakeLayerTreeHost::Create(&client, &task_graph_runner);
|
| + auto animation_host = AnimationHost::CreateForTesting(ThreadInstance::MAIN);
|
| + std::unique_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(
|
| + &client, &task_graph_runner, animation_host.get());
|
| layer->SetLayerTreeHost(host.get());
|
| gfx::Rect layer_rect(200, 200);
|
|
|
|
|