Index: mojo/services/public/cpp/surfaces/surfaces_type_converters.h |
diff --git a/mojo/services/public/cpp/surfaces/surfaces_type_converters.h b/mojo/services/public/cpp/surfaces/surfaces_type_converters.h |
index 822c440713e3371bbf3e63c794071c015213026d..4ef0e2c1cc0338a6e2e252c4fc87803c8c622e58 100644 |
--- a/mojo/services/public/cpp/surfaces/surfaces_type_converters.h |
+++ b/mojo/services/public/cpp/surfaces/surfaces_type_converters.h |
@@ -21,6 +21,7 @@ namespace cc { |
class CompositorFrame; |
class DrawQuad; |
class RenderPass; |
+class RenderPassId; |
class SharedQuadState; |
} // namespace cc |
@@ -47,6 +48,16 @@ struct MOJO_SURFACES_EXPORT TypeConverter<SkColor, ColorPtr> { |
}; |
template <> |
+struct MOJO_SURFACES_EXPORT TypeConverter<RenderPassIdPtr, cc::RenderPassId> { |
+ static RenderPassIdPtr Convert(const cc::RenderPassId& input); |
+}; |
+ |
+template <> |
+struct MOJO_SURFACES_EXPORT TypeConverter<cc::RenderPassId, RenderPassIdPtr> { |
+ static cc::RenderPassId Convert(const RenderPassIdPtr& input); |
+}; |
+ |
+template <> |
struct MOJO_SURFACES_EXPORT TypeConverter<QuadPtr, cc::DrawQuad> { |
static QuadPtr Convert(const cc::DrawQuad& input); |
}; |