Index: content/browser/renderer_host/render_process_host_impl.h |
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h |
index 0ef85c81e601b624fd8d31388ca93f92c2ef9074..f1109802cb040279df5272349b2ddb2c8a765b38 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -22,7 +22,6 @@ |
#include "build/build_config.h" |
#include "content/browser/child_process_launcher.h" |
#include "content/browser/dom_storage/session_storage_namespace_impl.h" |
-#include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_provider_impl.h" |
#include "content/browser/webrtc/webrtc_eventlog_host.h" |
#include "content/common/associated_interfaces.mojom.h" |
#include "content/common/content_export.h" |
@@ -40,6 +39,7 @@ |
#include "services/service_manager/public/cpp/interface_registry.h" |
#include "services/service_manager/public/interfaces/service.mojom.h" |
#include "services/ui/public/interfaces/gpu.mojom.h" |
+#include "services/ui/surfaces/display_compositor.h" |
#include "ui/gfx/gpu_memory_buffer.h" |
#include "ui/gl/gpu_switching_observer.h" |
@@ -345,7 +345,7 @@ class CONTENT_EXPORT RenderProcessHostImpl |
void CreateMusGpuRequest(ui::mojom::GpuRequest request); |
void CreateOffscreenCanvasCompositorFrameSinkProvider( |
- blink::mojom::OffscreenCanvasCompositorFrameSinkProviderRequest request); |
+ cc::mojom::DisplayCompositorRequest request); |
void CreateStoragePartitionService( |
mojo::InterfaceRequest<mojom::StoragePartitionService> request); |
@@ -599,8 +599,7 @@ class CONTENT_EXPORT RenderProcessHostImpl |
scoped_refptr<ResourceMessageFilter> resource_message_filter_; |
std::unique_ptr<GpuClient, BrowserThread::DeleteOnIOThread> gpu_client_; |
- std::unique_ptr<OffscreenCanvasCompositorFrameSinkProviderImpl> |
- offscreen_canvas_provider_; |
+ std::unique_ptr<ui::DisplayCompositor> display_compositor_; |
mojom::RouteProviderAssociatedPtr remote_route_provider_; |
mojom::RendererAssociatedPtr renderer_interface_; |