Commit d0cfff16 authored by Alhaad Gokhale's avatar Alhaad Gokhale

service_registry.dart should use the service registry handle instead of

shell handle.

R=@abarth,@tonygentilcore
parent 4b03a9ee
......@@ -8,7 +8,7 @@ import 'package:mojo_services/mojo/service_registry.mojom.dart';
import 'package:mojo/core.dart' as core;
ServiceRegistryProxy _initServiceRegistryProxy() {
core.MojoHandle serviceRegistryHandle = new core.MojoHandle(internals.takeShellProxyHandle());
core.MojoHandle serviceRegistryHandle = new core.MojoHandle(internals.takeServiceRegistry());
if (!serviceRegistryHandle.isValid)
return null;
return new ServiceRegistryProxy.fromHandle(serviceRegistryHandle);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment