Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3551)

Unified Diff: cc/trees/layer_tree_host_unittest_scroll.cc

Issue 2650303002: cc: Remove the LayerTreeHost abstraction. (Closed)
Patch Set: missed ui Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_scroll.cc
diff --git a/cc/trees/layer_tree_host_unittest_scroll.cc b/cc/trees/layer_tree_host_unittest_scroll.cc
index f02e66da7286949f1f34d4a16ee7268a6c5aea79..37d98c17b2f93eccc0f880a7b60b26210bd4385d 100644
--- a/cc/trees/layer_tree_host_unittest_scroll.cc
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc
@@ -1318,15 +1318,14 @@ TEST(LayerTreeHostFlingTest, DidStopFlingingThread) {
auto animation_host = AnimationHost::CreateForTesting(ThreadInstance::MAIN);
- LayerTreeHostInProcess::InitParams params;
+ LayerTreeHost::InitParams params;
params.client = &layer_tree_host_client;
params.task_graph_runner = &task_graph_runner;
params.settings = &settings;
params.main_task_runner = base::ThreadTaskRunnerHandle::Get();
params.mutator_host = animation_host.get();
- std::unique_ptr<LayerTreeHostInProcess> layer_tree_host =
- LayerTreeHostInProcess::CreateThreaded(impl_thread.task_runner(),
- &params);
+ std::unique_ptr<LayerTreeHost> layer_tree_host =
+ LayerTreeHost::CreateThreaded(impl_thread.task_runner(), &params);
ThreadCheckingInputHandlerClient input_handler_client(
impl_thread.task_runner().get(), &received_stop_flinging);
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698