Commit 8a256abd authored by Adam Barth's avatar Adam Barth

Merge pull request #321 from alhaad/fix_service_registry_handle

service_registry.dart should use the service registry handle instead of shell handle
parents fe3175d4 d0cfff16
...@@ -8,7 +8,7 @@ import 'package:mojo_services/mojo/service_registry.mojom.dart'; ...@@ -8,7 +8,7 @@ import 'package:mojo_services/mojo/service_registry.mojom.dart';
import 'package:mojo/core.dart' as core; import 'package:mojo/core.dart' as core;
ServiceRegistryProxy _initServiceRegistryProxy() { ServiceRegistryProxy _initServiceRegistryProxy() {
core.MojoHandle serviceRegistryHandle = new core.MojoHandle(internals.takeShellProxyHandle()); core.MojoHandle serviceRegistryHandle = new core.MojoHandle(internals.takeServiceRegistry());
if (!serviceRegistryHandle.isValid) if (!serviceRegistryHandle.isValid)
return null; return null;
return new ServiceRegistryProxy.fromHandle(serviceRegistryHandle); 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