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

Unified Diff: runtime/bin/eventhandler_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 | « no previous file | runtime/bin/process_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler_fuchsia.cc
diff --git a/runtime/bin/eventhandler_fuchsia.cc b/runtime/bin/eventhandler_fuchsia.cc
index d0b845a7568b624381ad16dfbd1997bc80f10143..41feb5d03bac13297d393e58dee15a989307ef8d 100644
--- a/runtime/bin/eventhandler_fuchsia.cc
+++ b/runtime/bin/eventhandler_fuchsia.cc
@@ -285,7 +285,7 @@ EventHandlerImplementation::EventHandlerImplementation()
shutdown_ = false;
// Create the port.
port_handle_ = MX_HANDLE_INVALID;
- mx_status_t status = mx_port_create(MX_PORT_OPT_V2, &port_handle_);
+ mx_status_t status = mx_port_create(0, &port_handle_);
if (status != MX_OK) {
// This is a FATAL because the VM won't work at all if we can't create this
// port.
« no previous file with comments | « no previous file | runtime/bin/process_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698