Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Unified Diff: runtime/bin/utils_fuchsia.cc

Issue 2466003002: Remove use of the deprecated mx_current_time Fuchsia syscall (Closed)
Patch Set: missed a spot Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/os_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/utils_fuchsia.cc
diff --git a/runtime/bin/utils_fuchsia.cc b/runtime/bin/utils_fuchsia.cc
index 0809723b8a0c96fb7afbbd5f8b7410dc47f60413..79a1fbae6dc50b87ab3655fd848fdb60717fd009 100644
--- a/runtime/bin/utils_fuchsia.cc
+++ b/runtime/bin/utils_fuchsia.cc
@@ -88,7 +88,7 @@ int64_t TimerUtils::GetCurrentMonotonicMillis() {
int64_t TimerUtils::GetCurrentMonotonicMicros() {
- int64_t ticks = mx_current_time();
+ int64_t ticks = mx_time_get(MX_CLOCK_MONOTONIC);
return ticks / kNanosecondsPerMicrosecond;
}
« no previous file with comments | « no previous file | runtime/vm/os_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698