From 6bcd854f1ff92246ad00b3c5d71c1bc49ca344c5 Mon Sep 17 00:00:00 2001 From: Fabrice de Gans-Riberi Date: Tue, 25 Jun 2019 11:26:03 -0700 Subject: [PATCH] [fuchsia] Update zx_clock_get_new -> zx_clock_get The call was renamed in Fuchsia, the transitional *_new variant is going to be removed soon. Bug: chromium:977753 Change-Id: I3734cc36a15635dce4dc00d07917879761dec0f5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1676610 Commit-Queue: Fabrice de Gans-Riberi Commit-Queue: Wez Auto-Submit: Fabrice de Gans-Riberi Reviewed-by: Wez Cr-Commit-Position: refs/heads/master@{#62365} --- src/base/platform/platform-fuchsia.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/platform/platform-fuchsia.cc b/src/base/platform/platform-fuchsia.cc index cf8658850b..fa175c3917 100644 --- a/src/base/platform/platform-fuchsia.cc +++ b/src/base/platform/platform-fuchsia.cc @@ -152,7 +152,7 @@ int OS::GetUserTime(uint32_t* secs, uint32_t* usecs) { const auto kMicrosPerSecond = 1000000ULL; zx_time_t nanos_since_thread_started; zx_status_t status = - zx_clock_get_new(ZX_CLOCK_THREAD, &nanos_since_thread_started); + zx_clock_get(ZX_CLOCK_THREAD, &nanos_since_thread_started); if (status != ZX_OK) { return -1; }