Index: src/debug-agent.h |
diff --git a/src/debug-agent.h b/src/debug-agent.h |
index e16787197756f5ac7af5a4dc6b218df478dc903a..a07fb0f49c71e731079cd4ecc35ffe43dff94fd4 100644 |
--- a/src/debug-agent.h |
+++ b/src/debug-agent.h |
@@ -72,7 +72,7 @@ class DebuggerAgent: public Thread { |
void OnSessionClosed(DebuggerAgentSession* session); |
Isolate* isolate_; |
- SmartPointer<const char> name_; // Name of the embedding application. |
+ SmartArrayPointer<const char> name_; // Name of the embedding application. |
int port_; // Port to use for the agent. |
Socket* server_; // Server socket for listen/accept. |
bool terminate_; // Termination flag. |
@@ -117,7 +117,7 @@ class DebuggerAgentUtil { |
static const char* const kContentLength; |
static const int kContentLengthSize; |
- static SmartPointer<char> ReceiveMessage(const Socket* conn); |
+ static SmartArrayPointer<char> ReceiveMessage(const Socket* conn); |
static bool SendConnectMessage(const Socket* conn, |
const char* embedding_host); |
static bool SendMessage(const Socket* conn, const Vector<uint16_t> message); |