Index: mojo/public/interfaces/bindings/tests/test_native_types.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/test_native_types.mojom b/mojo/public/interfaces/bindings/tests/test_native_types.mojom |
index 3fceddefce0188686260feb4ea3a9c5b2ee9614b..4bfeba1176742e71e6775b1bd4dd3562d72565d6 100644 |
--- a/mojo/public/interfaces/bindings/tests/test_native_types.mojom |
+++ b/mojo/public/interfaces/bindings/tests/test_native_types.mojom |
@@ -4,7 +4,7 @@ |
module mojo.test; |
-// import "mojo/public/interfaces/bindings/tests/rect.mojom"; |
+import "mojo/public/interfaces/bindings/tests/rect.mojom"; |
// Used to verify that structs can be declared with no body in mojom. |
@@ -23,11 +23,10 @@ interface PicklePasser { |
=> (array<array<PickledStruct>> passed); |
}; |
-// TODO: crbug.com/596202 |
// Used to verify support for native serialization of mojom-defined structs |
// using StrucTraits with different variants of the Rect type from rect.mojom. |
-// interface RectService { |
-// AddRect(Rect r); |
-// GetLargestRect() => (Rect largest); |
-// }; |
+interface RectService { |
+ AddRect(TypemappedRect r); |
+ GetLargestRect() => (TypemappedRect largest); |
+}; |