Index: components/mus/public/interfaces/compositor_frame.mojom |
diff --git a/components/mus/public/interfaces/compositor_frame.mojom b/components/mus/public/interfaces/compositor_frame.mojom |
index 0779b3a6826298c0afe47d26ca4573a1e7aff75d..29f3e5e791d49a9c968193073d7de8cf8bf28457 100644 |
--- a/components/mus/public/interfaces/compositor_frame.mojom |
+++ b/components/mus/public/interfaces/compositor_frame.mojom |
@@ -4,6 +4,7 @@ |
module mus.mojom; |
+import "cc/ipc/returned_resource.mojom"; |
import "components/mus/public/interfaces/quads.mojom"; |
import "ui/gfx/geometry/mojo/geometry.mojom"; |
import "gpu/ipc/common/mailbox_holder.mojom"; |
@@ -19,14 +20,6 @@ enum ResourceFormat { |
ETC1, |
}; |
-// See src/cc/resources/returned_resource.h. |
-struct ReturnedResource { |
- uint32 id; |
- gpu.mojom.SyncToken sync_token; |
- int32 count; |
- bool lost; |
-}; |
- |
// A TransferableResource is a graphics resource such as a texture or a bitmap |
// in shared memory (software mode) that is shared between the window server and |
// a client. This data structure is used to manage reuse of |
@@ -67,5 +60,5 @@ interface Surface { |
}; |
interface SurfaceClient { |
- ReturnResources(array<ReturnedResource> resources); |
+ ReturnResources(array<cc.mojom.ReturnedResource> resources); |
}; |