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

Unified Diff: content/browser/renderer_host/offscreen_canvas_surface_impl.cc

Issue 2695603002: Replace OffscreenCanvasSurfaceClient with DisplayCompositorClient (Closed)
Patch Set: Delete unused import surface_info Created 3 years, 10 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/renderer_host/offscreen_canvas_surface_impl.cc
diff --git a/content/browser/renderer_host/offscreen_canvas_surface_impl.cc b/content/browser/renderer_host/offscreen_canvas_surface_impl.cc
index 27397ba33f3dda8f421e8ff74cfd257d1fdd4a9c..16f64aa5d9b8a8f7c39cd8959ee28a8fbfde0ed3 100644
--- a/content/browser/renderer_host/offscreen_canvas_surface_impl.cc
+++ b/content/browser/renderer_host/offscreen_canvas_surface_impl.cc
@@ -19,7 +19,7 @@ namespace content {
OffscreenCanvasSurfaceImpl::OffscreenCanvasSurfaceImpl(
const cc::FrameSinkId& parent_frame_sink_id,
const cc::FrameSinkId& frame_sink_id,
- blink::mojom::OffscreenCanvasSurfaceClientPtr client)
+ cc::mojom::DisplayCompositorClientPtr client)
: client_(std::move(client)),
frame_sink_id_(frame_sink_id),
parent_frame_sink_id_(parent_frame_sink_id) {
@@ -38,7 +38,7 @@ OffscreenCanvasSurfaceImpl::~OffscreenCanvasSurfaceImpl() {
void OffscreenCanvasSurfaceImpl::Create(
const cc::FrameSinkId& parent_frame_sink_id,
const cc::FrameSinkId& frame_sink_id,
- blink::mojom::OffscreenCanvasSurfaceClientPtr client,
+ cc::mojom::DisplayCompositorClientPtr client,
blink::mojom::OffscreenCanvasSurfaceRequest request) {
std::unique_ptr<OffscreenCanvasSurfaceImpl> impl =
base::MakeUnique<OffscreenCanvasSurfaceImpl>(

Powered by Google App Engine
This is Rietveld 408576698