Index: src/debug-agent.cc |
diff --git a/src/debug-agent.cc b/src/debug-agent.cc |
index 51823aaf24c41a7ae9e5681489399d61149ca0ed..d3d22c9133c22f3e8f82ce42ef2ae14f87bdd744 100644 |
--- a/src/debug-agent.cc |
+++ b/src/debug-agent.cc |
@@ -192,7 +192,7 @@ void DebuggerAgent::OnSessionClosed(DebuggerAgentSession* session) { |
void DebuggerAgentSession::Run() { |
// Send the hello message. |
- bool ok = DebuggerAgentUtil::SendConnectMessage(client_, *agent_->name_); |
+ bool ok = DebuggerAgentUtil::SendConnectMessage(client_, agent_->name_.get()); |
if (!ok) return; |
while (true) { |
@@ -200,7 +200,7 @@ void DebuggerAgentSession::Run() { |
SmartArrayPointer<char> message = |
DebuggerAgentUtil::ReceiveMessage(client_); |
- const char* msg = *message; |
+ const char* msg = message.get(); |
bool is_closing_session = (msg == NULL); |
if (msg == NULL) { |