Index: src/d8-debug.cc |
diff --git a/src/d8-debug.cc b/src/d8-debug.cc |
index 6c297d73969500a4d9d177f2d814124c56e1b2d3..0cd1cc2b73f1c5dfc4cd5b6b63a3fb95926cd9d9 100644 |
--- a/src/d8-debug.cc |
+++ b/src/d8-debug.cc |
@@ -332,13 +332,13 @@ void ReceiverThread::Run() { |
// Receive the connect message (with empty body). |
i::SmartArrayPointer<char> message = |
i::DebuggerAgentUtil::ReceiveMessage(remote_debugger_->conn()); |
- ASSERT(*message == NULL); |
+ ASSERT(message.get() == NULL); |
while (true) { |
// Receive a message. |
i::SmartArrayPointer<char> message = |
i::DebuggerAgentUtil::ReceiveMessage(remote_debugger_->conn()); |
- if (*message == NULL) { |
+ if (message.get() == NULL) { |
remote_debugger_->ConnectionClosed(); |
return; |
} |