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 55d34ee9a91eb0dfe0846c773559bcbc3711e2dd..d3f3aa8a17378716edff9265ca798e66b378f475 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 |
@@ -18,14 +18,9 @@ |
Require(cc.mojom.SurfaceId surface_id, cc.mojom.SurfaceSequence sequence); |
Satisfy(cc.mojom.SurfaceSequence sequence); |
+ |
+ // TODO(563852): Move this function to be in an interface shared by both |
+ // worker thread and main thread. |
+ // SubmitCompositorFrame(cc.mojom.CompositorFrame compositor_frame); |
}; |
-// This interface is called from either worker or main thread in renderer, but |
-// not both for the same OffscreenCanvas instance. |
-// TODO(xlai): Make commit() work for worker. See crbug.com/563858. |
-interface OffscreenCanvasFrameReceiver { |
- |
- SubmitCompositorFrame(cc.mojom.SurfaceId surface_id, cc.mojom.CompositorFrame compositor_frame); |
- |
-}; |
- |