Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 282157810cf8be58ae0d22a4506cf4743c3df6dc..1fd3e4023d8a16ec8364d0d42ba5dd3a915f5e38 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -3567,7 +3567,8 @@ v8::Handle<v8::Object> MessageImpl::GetEventData() const { |
v8::Handle<v8::String> MessageImpl::GetJSON() const { |
- v8::HandleScope scope; |
+ v8::HandleScope scope( |
+ reinterpret_cast<v8::Isolate*>(event_data_->GetIsolate())); |
if (IsEvent()) { |
// Call toJSONProtocol on the debug event object. |