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

Unified Diff: services/ui/gpu/gpu_main.cc

Issue 2768563002: Move DisplayCompositor code to new component. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 | « services/ui/gpu/gpu_main.h ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_main.cc
diff --git a/services/ui/gpu/gpu_main.cc b/services/ui/gpu/gpu_main.cc
index 8a7893ef197d225c52239dc24d984805b53f2bea..9d5102487d7c483f16248a875c91482240fdd919 100644
--- a/services/ui/gpu/gpu_main.cc
+++ b/services/ui/gpu/gpu_main.cc
@@ -211,9 +211,10 @@ void GpuMain::CreateDisplayCompositorOnCompositorThread(
gpu_internal_.Bind(std::move(gpu_service_info));
- display_compositor_ = base::MakeUnique<DisplayCompositor>(
- gpu_command_service_, base::MakeUnique<ServerGpuMemoryBufferManager>(
- gpu_internal_.get(), 1 /* client_id */),
+ display_compositor_ = base::MakeUnique<frame_sinks::DisplayCompositor>(
+ gpu_command_service_,
+ base::MakeUnique<ServerGpuMemoryBufferManager>(gpu_internal_.get(),
+ 1 /* client_id */),
image_factory, std::move(request), std::move(client));
}
« no previous file with comments | « services/ui/gpu/gpu_main.h ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698