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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 2232793002: services/ui: Move cc::SoftwareOutputDevice implementation into the client lib. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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
Index: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index ff60da4fd76de8cd448dacacfbe15acfb5b76f92..6067a6ae6644ded68cc39e7e4afb8eadade65335 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -38,7 +38,6 @@
#include "content/browser/compositor/offscreen_browser_compositor_output_surface.h"
#include "content/browser/compositor/reflector_impl.h"
#include "content/browser/compositor/software_browser_compositor_output_surface.h"
-#include "content/browser/compositor/software_output_device_mus.h"
#include "content/browser/gpu/browser_gpu_memory_buffer_manager.h"
#include "content/browser/gpu/gpu_data_manager_impl.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
@@ -62,6 +61,7 @@
#include "content/browser/compositor/mus_browser_compositor_output_surface.h"
#include "content/public/common/mojo_shell_connection.h"
#include "services/ui/common/gpu_service.h"
+#include "services/ui/public/cpp/software_output_device.h"
#endif
#if defined(OS_WIN)
@@ -203,7 +203,7 @@ GpuProcessTransportFactory::CreateSoftwareOutputDevice(
#if defined(USE_AURA)
if (shell::ShellIsRemote()) {
return std::unique_ptr<cc::SoftwareOutputDevice>(
- new SoftwareOutputDeviceMus(compositor));
+ new ui::SoftwareOutputDevice(compositor->window()));
}
#endif

Powered by Google App Engine
This is Rietveld 408576698