mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:44:27 +00:00
[fuchsia] Update FIDL1 C++ bindings to match FIDL2 interface
This change will make it easier to transition to FIDL2. Change-Id: Ibd69f9cb60687630b81306d5931134916d4d1d84 Reviewed-on: https://dart-review.googlesource.com/37640 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
0bca64f57e
commit
b447a3989c
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ intptr_t OS::ProcessId() {
|
|||
static zx_status_t GetTimeServicePtr(
|
||||
time_service::TimeServiceSyncPtr* time_svc) {
|
||||
zx::channel service_root = app::subtle::CreateStaticServiceRootHandle();
|
||||
zx::channel time_svc_channel = GetSynchronousProxy(time_svc).PassChannel();
|
||||
zx::channel time_svc_channel = GetSynchronousProxy(time_svc).TakeChannel();
|
||||
return fdio_service_connect_at(service_root.get(), kTimeServiceName,
|
||||
time_svc_channel.release());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue