Index: cc/trees/layer_tree_host_unittest_no_message_loop.cc |
diff --git a/cc/trees/layer_tree_host_unittest_no_message_loop.cc b/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
index 0b68ffb22630eca9b761b49f68d6e2a4b38f7228..ef948f70240281e52d786ac77921db06cef0ecf2 100644 |
--- a/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
+++ b/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
@@ -105,8 +105,11 @@ class LayerTreeHostNoMessageLoopTest |
settings.single_thread_proxy_scheduler = false; |
settings.verify_property_trees = true; |
settings.raster_enabled = false; |
- layer_tree_host_ = LayerTreeHost::CreateSingleThreaded( |
- this, this, nullptr, nullptr, nullptr, settings, nullptr, nullptr); |
+ |
+ LayerTreeHost::InitParams params; |
+ params.client = this; |
+ params.settings = &settings; |
+ layer_tree_host_ = LayerTreeHost::CreateSingleThreaded(this, ¶ms); |
layer_tree_host_->SetViewportSize(size_); |
layer_tree_host_->SetRootLayer(root_layer_); |
} |