From f50873d345190b428d8a73e74ad46aa22c847572 Mon Sep 17 00:00:00 2001 From: Ankur Mittal Date: Wed, 30 May 2018 14:48:59 +0000 Subject: [PATCH] [fuchsia] Renaming component FIDL to fuchsia.sys. Bug: https://fuchsia.atlassian.net/browse/CP-39 Change-Id: Id66157f592a005d555d6f406e56a75a8cf6aeb48 Reviewed-on: https://dart-review.googlesource.com/57160 Reviewed-by: Zach Anderson --- runtime/vm/os_fuchsia.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/vm/os_fuchsia.cc b/runtime/vm/os_fuchsia.cc index 727542f53e9..62843071712 100644 --- a/runtime/vm/os_fuchsia.cc +++ b/runtime/vm/os_fuchsia.cc @@ -44,7 +44,7 @@ static zx_status_t GetLocalAndDstOffsetInSeconds(int64_t seconds_since_epoch, int32_t* local_offset, int32_t* dst_offset) { time_zone::TimezoneSyncPtr time_svc; - component::ConnectToEnvironmentService(time_svc.NewRequest()); + fuchsia::sys::ConnectToEnvironmentService(time_svc.NewRequest()); if (!time_svc->GetTimezoneOffsetMinutes(seconds_since_epoch * 1000, local_offset, dst_offset)) return ZX_ERR_UNAVAILABLE; @@ -57,7 +57,7 @@ const char* OS::GetTimeZoneName(int64_t seconds_since_epoch) { // TODO(abarth): Handle time zone changes. static const auto* tz_name = new std::string([] { time_zone::TimezoneSyncPtr time_svc; - component::ConnectToEnvironmentService(time_svc.NewRequest()); + fuchsia::sys::ConnectToEnvironmentService(time_svc.NewRequest()); fidl::StringPtr result; time_svc->GetTimezoneId(&result); return *result;