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

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

Issue 2939953004: viz: Move some code into //components/viz/common. (Closed)
Patch Set: . Created 3 years, 6 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/BUILD.gn ('k') | services/ui/ws/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 9291f4b36d6a0591715ab66473d40a9867028b2e..e590b355ac22ca6a93f94c3cd01a345626b7623f 100644
--- a/services/ui/gpu/gpu_main.cc
+++ b/services/ui/gpu/gpu_main.cc
@@ -9,6 +9,7 @@
#include "base/message_loop/message_loop.h"
#include "base/power_monitor/power_monitor_device_source.h"
#include "base/single_thread_task_runner.h"
+#include "components/viz/common/server_gpu_memory_buffer_manager.h"
#include "components/viz/service/display_compositor/gpu_display_provider.h"
#include "components/viz/service/frame_sinks/mojo_frame_sink_manager.h"
#include "gpu/command_buffer/common/activity_flags.h"
@@ -16,7 +17,6 @@
#include "gpu/ipc/gpu_in_process_thread_service.h"
#include "gpu/ipc/service/gpu_memory_buffer_factory.h"
#include "gpu/ipc/service/gpu_watchdog_thread.h"
-#include "services/ui/common/server_gpu_memory_buffer_manager.h"
#include "services/ui/gpu/gpu_service.h"
#if defined(USE_OZONE)
@@ -202,8 +202,8 @@ void GpuMain::CreateFrameSinkManagerOnCompositorThread(
display_provider_ = base::MakeUnique<viz::GpuDisplayProvider>(
gpu_command_service_,
- base::MakeUnique<ServerGpuMemoryBufferManager>(gpu_internal_.get(),
- 1 /* client_id */),
+ base::MakeUnique<viz::ServerGpuMemoryBufferManager>(gpu_internal_.get(),
+ 1 /* client_id */),
image_factory);
frame_sink_manager_ = base::MakeUnique<viz::MojoFrameSinkManager>(
« no previous file with comments | « services/ui/gpu/BUILD.gn ('k') | services/ui/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698