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

Unified Diff: base/process/process_handle_fuchsia.cc

Issue 2941283002: fuchsia: Use new, qualified error names, disable old names. (Closed)
Patch Set: don have 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 | « base/process/process_fuchsia.cc ('k') | base/process/process_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_handle_fuchsia.cc
diff --git a/base/process/process_handle_fuchsia.cc b/base/process/process_handle_fuchsia.cc
index f1a7b5efad4797369e0a77d100f5980b0efc7e51..9277286316270add217da0e9330c0e28f4dfc6a1 100644
--- a/base/process/process_handle_fuchsia.cc
+++ b/base/process/process_handle_fuchsia.cc
@@ -25,7 +25,7 @@ ProcessId GetProcId(ProcessHandle process) {
mx_info_handle_basic_t basic;
mx_status_t status = mx_object_get_info(process, MX_INFO_HANDLE_BASIC, &basic,
sizeof(basic), nullptr, nullptr);
- if (status != NO_ERROR) {
+ if (status != MX_OK) {
DLOG(ERROR) << "mx_object_get_info failed: " << status;
return MX_KOID_INVALID;
}
« no previous file with comments | « base/process/process_fuchsia.cc ('k') | base/process/process_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698