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

Unified Diff: runtime/bin/eventhandler_fuchsia.h

Issue 2468423002: Update usage of mx_handle_wait_many() API. (Closed)
Patch Set: Update usage of mx_handle_wait_many() API. 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/bin/eventhandler_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler_fuchsia.h
diff --git a/runtime/bin/eventhandler_fuchsia.h b/runtime/bin/eventhandler_fuchsia.h
index 27e4903097b72d9505a27874c66c45e41a07637e..d4bc77b2dfafd866cfa238994042232779b9c96d 100644
--- a/runtime/bin/eventhandler_fuchsia.h
+++ b/runtime/bin/eventhandler_fuchsia.h
@@ -64,8 +64,7 @@ class MagentaWaitManyInfo {
intptr_t size() const { return size_; }
DescriptorInfo** descriptor_infos() const { return descriptor_infos_; }
mx_handle_t* handles() const { return handles_; }
- mx_signals_t* signals() const { return signals_; }
- mx_signals_state_t* signals_states() const { return signals_states_; }
+ mx_wait_item_t* items() const { return items_; }
void AddHandle(mx_handle_t handle, mx_signals_t signals, DescriptorInfo* di);
void RemoveHandle(mx_handle_t handle);
@@ -79,8 +78,7 @@ class MagentaWaitManyInfo {
intptr_t size_;
DescriptorInfo** descriptor_infos_;
mx_handle_t* handles_;
zra 2016/11/03 05:48:21 It looks like you can also remove handles_
jeffbrown 2016/11/03 05:56:07 whoops!
- mx_signals_t* signals_;
- mx_signals_state_t* signals_states_;
+ mx_wait_item_t* items_;
DISALLOW_COPY_AND_ASSIGN(MagentaWaitManyInfo);
};
« no previous file with comments | « no previous file | runtime/bin/eventhandler_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698