summaryrefslogtreecommitdiffstats
path: root/mojo/edk/system/ports/node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/edk/system/ports/node.cc')
-rw-r--r--mojo/edk/system/ports/node.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/mojo/edk/system/ports/node.cc b/mojo/edk/system/ports/node.cc
index da2bdb0..aca9a55 100644
--- a/mojo/edk/system/ports/node.cc
+++ b/mojo/edk/system/ports/node.cc
@@ -6,7 +6,6 @@
#include <string.h>
-#include "base/debug/alias.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
@@ -1043,10 +1042,8 @@ int Node::WillSendMessage_Locked(Port* port,
{
for (size_t i = 0; i < message->num_ports(); ++i) {
- PortName port_name = message->ports()[i];
- base::debug::Alias(&port_name);
- ports[i] = GetPort_Locked(port_name);
- CHECK(ports[i]);
+ ports[i] = GetPort_Locked(message->ports()[i]);
+ DCHECK(ports[i]);
ports[i]->lock.Acquire();
int error = OK;