Index: sky/tests/services/iframe-embed-vmc.sky |
diff --git a/sky/tests/services/iframe-embed-vmc.sky b/sky/tests/services/iframe-embed-vmc.sky |
index 1396b0d66d74d2ecbbf5c8fefe7177c64f189334..905ddd3da771d8e1f49e9e9aba823655504327cb 100644 |
--- a/sky/tests/services/iframe-embed-vmc.sky |
+++ b/sky/tests/services/iframe-embed-vmc.sky |
@@ -29,7 +29,8 @@ class IFrameEmbed extends Application { |
// The Promise returned by the vmcApp's echoString() method will not |
// resolve until the vmcApp's onEmbed() method runs. |
final echoService = new echo_service_mojom.EchoServiceProxy.unbound(); |
- vmcAppConnection.requestService(echoService); |
+ vmcAppConnection.requestService( |
+ echo_service_mojom.EchoServiceRequest(echoService)); |
echoService.echoString("success").then((response) { |
internals.notifyTestComplete(response.value); |
}); |
@@ -38,7 +39,7 @@ class IFrameEmbed extends Application { |
var proxyEndpoint = applicationPipe.endpoints[0]; |
var applicationEndpoint = applicationPipe.endpoints[1]; |
vmcAppConnection.remoteServiceProvider.connectToService( |
- view_manager.ViewManagerClient.name, applicationEndpoint); |
+ view_manager.ViewManagerClientName, applicationEndpoint); |
document.querySelector("iframe"). |
embedViewManagerClient(proxyEndpoint.handle.h); |
} |
@@ -47,7 +48,6 @@ class IFrameEmbed extends Application { |
main() { |
var messagePipe = new MojoMessagePipe(); |
var app = new IFrameEmbed(messagePipe.endpoints[1]); |
- app.listen(); |
var shellProxy = new shell_mojom.ShellProxy.fromHandle( |
new MojoHandle(internals.takeShellProxyHandle())); |
app.initializeFromShellProxy(shellProxy, [], ""); |