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

Unified Diff: runtime/vm/os_thread_fuchsia.cc

Issue 2935483002: Update Fuchsia-specific code to use the new MX_ error names (Closed)
Patch Set: not windows tho Created 3 years, 6 months 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 | « runtime/vm/os_fuchsia.cc ('k') | runtime/vm/thread_interrupter_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_thread_fuchsia.cc
diff --git a/runtime/vm/os_thread_fuchsia.cc b/runtime/vm/os_thread_fuchsia.cc
index 9d17913f9f2748433f00ea685b2b3e33e7158d21..5a94f4752e9e5ef32eebd8b6b2a74c7e36e0c204 100644
--- a/runtime/vm/os_thread_fuchsia.cc
+++ b/runtime/vm/os_thread_fuchsia.cc
@@ -165,7 +165,7 @@ ThreadId OSThread::GetCurrentThreadId() {
mx_status_t status =
mx_object_get_info(thread_handle, MX_INFO_HANDLE_BASIC, &info,
sizeof(info), nullptr, nullptr);
- if (status != NO_ERROR) {
+ if (status != MX_OK) {
FATAL1("Failed to get thread koid: %s\n", mx_status_get_string(status));
}
return info.koid;
« no previous file with comments | « runtime/vm/os_fuchsia.cc ('k') | runtime/vm/thread_interrupter_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698