Index: mojo/edk/system/handle_table.cc |
diff --git a/mojo/edk/system/handle_table.cc b/mojo/edk/system/handle_table.cc |
index 7bff6f3ce4ae27765253ee6ba5ba3004f9526ddd..cae7a941e4f6ffed8747d830bce9dead4832a055 100644 |
--- a/mojo/edk/system/handle_table.cc |
+++ b/mojo/edk/system/handle_table.cc |
@@ -35,17 +35,16 @@ HandleTable::~HandleTable() { |
// the singleton |Core|, which lives forever), except in tests. |
} |
-MojoResult HandleTable::GetDispatcher(MojoHandle handle_value, |
- RefPtr<Dispatcher>* dispatcher) { |
+MojoResult HandleTable::GetHandle(MojoHandle handle_value, Handle* handle) { |
DCHECK_NE(handle_value, MOJO_HANDLE_INVALID); |
- DCHECK(dispatcher); |
+ DCHECK(handle); |
HandleToEntryMap::iterator it = handle_to_entry_map_.find(handle_value); |
if (it == handle_to_entry_map_.end()) |
return MOJO_RESULT_INVALID_ARGUMENT; |
if (it->second.busy) |
return MOJO_RESULT_BUSY; |
- *dispatcher = it->second.handle.dispatcher; |
+ *handle = it->second.handle; |
return MOJO_RESULT_OK; |
} |