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

Unified Diff: mojo/edk/system/core.h

Issue 1957763002: EDK: Convert Core::GetAndRemoveDispatcher() to GetAndRemoveHandle(). (Closed) Base URL: https://github.com/domokit/mojo.git@work790_edk_handle_table_14.1-x-work789_edk_handle_table_14-x-work788_edk_handle_13.9-x-work787_edk_handle_13.8
Patch Set: Created 4 years, 7 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 | « mojo/edk/embedder/system_impl_private_entrypoints.cc ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core.h
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
index 05504fd4c3e2e62c629618043f8e1c5ba9d08ca0..74c5f4750b4a9715961242e6fd3b03b41cd66d3e 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -63,11 +63,9 @@ class Core {
// busy.
MojoResult GetHandle(MojoHandle handle, Handle* h);
- // TODO(vtl): Convert this to |GetAndRemoveHandle()|.
- // Like |GetDispatcher()|, but on success also removes the handle from the
+ // Like |GetHandle()|, but on success also removes the handle from the
// handle table.
- MojoResult GetAndRemoveDispatcher(MojoHandle handle,
- util::RefPtr<Dispatcher>* dispatcher);
+ MojoResult GetAndRemoveHandle(MojoHandle handle, Handle* h);
// Gets the dispatcher for the given handle value, which must have (all of)
// the rights in |required_handle_rights|.
« no previous file with comments | « mojo/edk/embedder/system_impl_private_entrypoints.cc ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698