Index: content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc |
diff --git a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc |
index 8225f0c13b36d0cc0b768d765ebcf5b32e2c7f79..d7d04a7d62b0b6086fb7b2ba2f8a3e8f60caa9b8 100644 |
--- a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc |
+++ b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc |
@@ -24,7 +24,7 @@ OffscreenCanvasCompositorFrameSink::~OffscreenCanvasCompositorFrameSink() { |
// avoid its destruction error. |
surface_factory_->DidDestroySurfaceManager(); |
} else { |
- manager->InvalidateSurfaceClientId(surface_id_.client_id()); |
+ manager->InvalidateFrameSinkId(surface_id_.frame_sink_id()); |
} |
surface_factory_->Destroy(surface_id_); |
} |
@@ -48,7 +48,7 @@ void OffscreenCanvasCompositorFrameSink::SubmitCompositorFrame( |
surface_factory_ = base::MakeUnique<cc::SurfaceFactory>(manager, this); |
surface_factory_->Create(surface_id_); |
- manager->RegisterSurfaceClientId(surface_id_.client_id()); |
+ manager->RegisterFrameSinkId(surface_id_.frame_sink_id()); |
} |
surface_factory_->SubmitCompositorFrame(surface_id_, std::move(frame), |
callback); |