| Index: third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom
|
| diff --git a/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom b/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom
|
| index 5faf670d949eda0b7e5f47befef9db02b0972595..f4e4448d561060e6fd9d53c0f2bae50a8f2d5c4e 100644
|
| --- a/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom
|
| +++ b/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom
|
| @@ -5,6 +5,7 @@
|
| module blink.mojom;
|
|
|
| import "cc/ipc/compositor_frame.mojom";
|
| +import "cc/ipc/mojo_compositor_frame_sink.mojom";
|
| import "cc/ipc/surface_id.mojom";
|
| import "cc/ipc/surface_sequence.mojom";
|
|
|
| @@ -19,11 +20,9 @@ interface OffscreenCanvasSurface {
|
| Satisfy(cc.mojom.SurfaceSequence sequence);
|
| };
|
|
|
| -// This interface is called from either worker or main thread in renderer, but
|
| -// not both for the same OffscreenCanvas instance.
|
| -interface OffscreenCanvasFrameReceiver {
|
| -
|
| - SubmitCompositorFrame(cc.mojom.SurfaceId surface_id, cc.mojom.CompositorFrame compositor_frame);
|
| -
|
| +interface OffscreenCanvasCompositorFrameSinkProvider {
|
| + CreateCompositorFrameSink(cc.mojom.SurfaceId surface_id,
|
| + cc.mojom.MojoCompositorFrameSinkClient client,
|
| + cc.mojom.MojoCompositorFrameSink& sink);
|
| };
|
|
|
|
|