| Index: cc/layers/picture_layer_unittest.cc
|
| diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
|
| index 76d8ec9fa1935d23d36c103c3dedc35c54fffe7d..a4199c4b82c9565cd1a8b4e1881ee7b2503ec263 100644
|
| --- a/cc/layers/picture_layer_unittest.cc
|
| +++ b/cc/layers/picture_layer_unittest.cc
|
| @@ -302,22 +302,21 @@ TEST(PictureLayerTest, NonMonotonicSourceFrameNumber) {
|
|
|
| auto animation_host = AnimationHost::CreateForTesting(ThreadInstance::MAIN);
|
|
|
| - LayerTreeHostInProcess::InitParams params;
|
| + LayerTreeHost::InitParams params;
|
| params.client = &host_client1;
|
| params.settings = &settings;
|
| params.task_graph_runner = &task_graph_runner;
|
| params.main_task_runner = base::ThreadTaskRunnerHandle::Get();
|
| params.mutator_host = animation_host.get();
|
| std::unique_ptr<LayerTreeHost> host1 =
|
| - LayerTreeHostInProcess::CreateSingleThreaded(&single_thread_client,
|
| - ¶ms);
|
| + LayerTreeHost::CreateSingleThreaded(&single_thread_client, ¶ms);
|
| host1->SetVisible(true);
|
| host_client1.SetLayerTreeHost(host1.get());
|
|
|
| auto animation_host2 = AnimationHost::CreateForTesting(ThreadInstance::MAIN);
|
|
|
| // TODO(sad): InitParams will be movable.
|
| - LayerTreeHostInProcess::InitParams params2;
|
| + LayerTreeHost::InitParams params2;
|
| params2.client = &host_client1;
|
| params2.settings = &settings;
|
| params2.task_graph_runner = &task_graph_runner;
|
| @@ -325,8 +324,7 @@ TEST(PictureLayerTest, NonMonotonicSourceFrameNumber) {
|
| params2.client = &host_client2;
|
| params2.mutator_host = animation_host2.get();
|
| std::unique_ptr<LayerTreeHost> host2 =
|
| - LayerTreeHostInProcess::CreateSingleThreaded(&single_thread_client,
|
| - ¶ms2);
|
| + LayerTreeHost::CreateSingleThreaded(&single_thread_client, ¶ms2);
|
| host2->SetVisible(true);
|
| host_client2.SetLayerTreeHost(host2.get());
|
|
|
|
|