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

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

Issue 1949283002: EDK: Replace HandleTable::GetAndRemoveDispatcher() with GetAndRemoveHandle(). (Closed) Base URL: https://github.com/domokit/mojo.git@work789_edk_handle_13.3-x-work788_edk_handle_13.2
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/system/handle.h ('k') | mojo/edk/system/handle_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/handle_table.h
diff --git a/mojo/edk/system/handle_table.h b/mojo/edk/system/handle_table.h
index fb346d6193b68f250e848d1b21cf71dacced10fe..6376a1348d66fae0bd8d1e6749858643683d39a6 100644
--- a/mojo/edk/system/handle_table.h
+++ b/mojo/edk/system/handle_table.h
@@ -56,10 +56,9 @@ class HandleTable {
// marked as busy.
MojoResult GetHandle(MojoHandle handle_value, Handle* handle);
- // Like |GetDispatcher()|, but on success also removes the handle value from
- // the handle table.
- MojoResult GetAndRemoveDispatcher(MojoHandle handle_value,
- util::RefPtr<Dispatcher>* dispatcher);
+ // Like |GetHandle()|, but on success also removes the handle value from the
+ // handle table.
+ MojoResult GetAndRemoveHandle(MojoHandle handle_value, Handle* handle);
// Adds a handle (which must have a dispatcher), returning the handle value
// for it. Returns |MOJO_HANDLE_INVALID| on failure (if the handle table is
« no previous file with comments | « mojo/edk/system/handle.h ('k') | mojo/edk/system/handle_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698