Index: mojo/services/surfaces/public/interfaces/surfaces.mojom |
diff --git a/mojo/services/surfaces/public/interfaces/surfaces.mojom b/mojo/services/surfaces/public/interfaces/surfaces.mojom |
index caaddedef6784aeedfa68f6927089263a55b565d..9fc65e8c8d95e3bd66f2efe0fc14bcbef207757c 100644 |
--- a/mojo/services/surfaces/public/interfaces/surfaces.mojom |
+++ b/mojo/services/surfaces/public/interfaces/surfaces.mojom |
@@ -61,19 +61,17 @@ interface SurfaceClient { |
[Client=SurfaceClient] |
interface Surface { |
- // The id's local field is allocated by the caller and must be unique. The |
- // id_namespace field on the id may be 0 or this connection's namespace. |
- CreateSurface(SurfaceId id); |
+ CreateSurface(uint32 id_local); |
// The client can only submit frames to surfaces created with this |
// connection. After the submitted frame is drawn for the first time, the |
// surface will respond to the SubmitFrame message. Clients should use this |
// acknowledgement to ratelimit frame submissions. |
- SubmitFrame(SurfaceId id, Frame frame) => (); |
- DestroySurface(SurfaceId id); |
+ SubmitFrame(uint32 id_local, Frame frame) => (); |
+ DestroySurface(uint32 id_local); |
CreateGLES2BoundSurface(CommandBuffer gles2_client, |
- SurfaceId id, |
+ uint32 id_local, |
Size size, |
ViewportParameterListener& listener); |
}; |