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 afd4249aa1d9652c30f881fd7e7d60283a8d9be1..89eaf25d49d612df18799a9d7c6aaa6fe7e2d496 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/display_compositor.mojom"; |
import "cc/ipc/frame_sink_id.mojom"; |
import "cc/ipc/mojo_compositor_frame_sink.mojom"; |
import "cc/ipc/surface_id.mojom"; |
@@ -16,15 +17,10 @@ interface OffscreenCanvasSurface { |
Satisfy(cc.mojom.SurfaceSequence sequence); |
}; |
-interface OffscreenCanvasSurfaceClient { |
- // TODO(fsamuel, xlai): Replace this with DisplayCompositorClient |
- OnSurfaceCreated(cc.mojom.SurfaceInfo surface_info); |
-}; |
- |
interface OffscreenCanvasSurfaceFactory { |
CreateOffscreenCanvasSurface(cc.mojom.FrameSinkId parent_frame_sink_id, |
cc.mojom.FrameSinkId frame_sink_id, |
- OffscreenCanvasSurfaceClient client, |
+ cc.mojom.DisplayCompositorClient client, |
OffscreenCanvasSurface& service); |
}; |