mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Revert API change from issue 1053883002.
tl;dr is that unless the Proxy is passed, the caller doesn't know whether it's a Stub or Proxy (or whether it's bound). See that patch for further explanation. BUG= R=hansmuller@google.com Review URL: https://codereview.chromium.org/1052693003
This commit is contained in:
parent
f1ee3cc379
commit
cd1ca3d88b
@ -50,11 +50,11 @@ class _EmbedderImpl {
|
||||
appSp.close();
|
||||
}
|
||||
|
||||
ServiceRegistry get serviceRegistry {
|
||||
ServiceRegistryProxy get serviceRegistry {
|
||||
if (_serviceRegistry == null) {
|
||||
_serviceRegistry = new ServiceRegistryProxy.fromHandle(
|
||||
new core.MojoHandle(internals.takeServiceRegistry()));
|
||||
}
|
||||
return _serviceRegistry.ptr;
|
||||
return _serviceRegistry;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user