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

Unified Diff: runtime/bin/process_fuchsia.cc

Issue 2973893002: [fuchsia] Use 0 instead of the deprecated MX_PORT_OPT_V2 option (Closed)
Patch Set: Created 3 years, 5 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/bin/eventhandler_fuchsia.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_fuchsia.cc
diff --git a/runtime/bin/process_fuchsia.cc b/runtime/bin/process_fuchsia.cc
index 11e918e8d51b63ea1b719f6f98d0f38a8eae2df3..b2adc710dbf966119464d3ac40bd5912fce46713 100644
--- a/runtime/bin/process_fuchsia.cc
+++ b/runtime/bin/process_fuchsia.cc
@@ -502,7 +502,7 @@ bool Process::Wait(intptr_t pid,
// Create a port, which is like an epoll() fd on Linux.
mx_handle_t port;
- mx_status_t status = mx_port_create(MX_PORT_OPT_V2, &port);
+ mx_status_t status = mx_port_create(0, &port);
if (status != MX_OK) {
Log::PrintErr("Process::Wait: mx_port_create failed: %s\n",
mx_status_get_string(status));
« no previous file with comments | « runtime/bin/eventhandler_fuchsia.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698