Index: src/debug-agent.cc |
diff --git a/src/debug-agent.cc b/src/debug-agent.cc |
index 49790cee99c2477fd1e62610cbdfcdc9810a08d5..3410d6f41fa0c8449ee336ea04bb8d248a147035 100644 |
--- a/src/debug-agent.cc |
+++ b/src/debug-agent.cc |
@@ -229,10 +229,10 @@ void DebuggerAgentSession::Run() { |
decoder.WriteUtf16(temp.start(), utf16_length); |
// Send the request received to the debugger. |
- v8::Debug::SendCommand(temp.start(), |
+ v8::Debug::SendCommand(reinterpret_cast<v8::Isolate*>(agent_->isolate()), |
+ temp.start(), |
utf16_length, |
- NULL, |
- reinterpret_cast<v8::Isolate*>(agent_->isolate())); |
+ NULL); |
if (is_closing_session) { |
// Session is closed. |