Index: mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart |
diff --git a/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart b/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart |
index 88373ea34b686fcd1cea211430725b7dd261c741..661d2f3a5781426612a29f379eaf1bce67dcbce8 100644 |
--- a/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart |
+++ b/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart |
@@ -3693,13 +3693,13 @@ mojom_types.MojomInterface _testUnionsSmallCache() { |
class _SmallCacheServiceDescription implements service_describer.ServiceDescription { |
dynamic getTopLevelInterface([Function responseFactory]) => |
- _testUnionsSmallCache(); |
+ responseFactory(_testUnionsSmallCache()); |
dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
- getAllMojomTypeDefinitions()[typeKey]; |
+ responseFactory(getAllMojomTypeDefinitions()[typeKey]); |
dynamic getAllTypeDefinitions([Function responseFactory]) => |
- getAllMojomTypeDefinitions(); |
+ responseFactory(getAllMojomTypeDefinitions()); |
} |
abstract class SmallCache { |
@@ -3926,7 +3926,7 @@ class SmallCacheStub extends bindings.Stub { |
int get version => 0; |
- service_describer.ServiceDescription get serviceDescription => |
+ static service_describer.ServiceDescription get serviceDescription => |
new _SmallCacheServiceDescription(); |
} |
@@ -3950,13 +3950,13 @@ mojom_types.MojomInterface _testUnionsUnionInterface() { |
class _UnionInterfaceServiceDescription implements service_describer.ServiceDescription { |
dynamic getTopLevelInterface([Function responseFactory]) => |
- _testUnionsUnionInterface(); |
+ responseFactory(_testUnionsUnionInterface()); |
dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
- getAllMojomTypeDefinitions()[typeKey]; |
+ responseFactory(getAllMojomTypeDefinitions()[typeKey]); |
dynamic getAllTypeDefinitions([Function responseFactory]) => |
- getAllMojomTypeDefinitions(); |
+ responseFactory(getAllMojomTypeDefinitions()); |
} |
abstract class UnionInterface { |
@@ -4169,7 +4169,7 @@ class UnionInterfaceStub extends bindings.Stub { |
int get version => 0; |
- service_describer.ServiceDescription get serviceDescription => |
+ static service_describer.ServiceDescription get serviceDescription => |
new _UnionInterfaceServiceDescription(); |
} |