diff --git a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/lib/src/system.dart b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/lib/src/system.dart index 2037fede99b..96e891d3264 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/lib/src/system.dart +++ b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/lib/src/system.dart @@ -190,7 +190,6 @@ class System extends NativeFieldWrapperClass2 { // Time operations. static int clockGetMonotonic() native 'System_ClockGetMonotonic'; - static int clockGet(int clockId) native 'System_ClockGet'; // TODO(edcoyne): Remove this, it is required to safely do an API transition across repos. static int reboot() { return -2; /*ZX_ERR_NOT_SUPPORTED*/ } diff --git a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.cc b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.cc index 3cf624e362b..ca12bd3af5f 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.cc +++ b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.cc @@ -463,12 +463,6 @@ uint64_t System::ClockGetMonotonic() { return zx_clock_get_monotonic(); } -uint64_t System::ClockGet(uint32_t clock_id) { - zx_time_t result = 0; - zx_clock_get(clock_id, &result); - return result; -} - // clang-format: off #define FOR_EACH_STATIC_BINDING(V) \ @@ -488,8 +482,7 @@ uint64_t System::ClockGet(uint32_t clock_id) { V(System, VmoRead) \ V(System, VmoWrite) \ V(System, VmoMap) \ - V(System, ClockGetMonotonic) \ - V(System, ClockGet) + V(System, ClockGetMonotonic) // clang-format: on diff --git a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.h b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.h index 10aa545e0eb..01d6a4c8df0 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.h +++ b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.h @@ -63,8 +63,6 @@ class System : public fml::RefCountedThreadSafe, static uint64_t ClockGetMonotonic(); - static uint64_t ClockGet(uint32_t clock_id); - static void RegisterNatives(tonic::DartLibraryNatives* natives); static zx_status_t ConnectToService(std::string path,