Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 08a38eadb221240d46041eb2d423b96bffe307b8..75c72820b202ad9c234edaab725fc35c85e4f39c 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -3599,7 +3599,8 @@ v8::Handle<v8::String> MessageImpl::GetJSON() const { |
if (IsEvent()) { |
// Call toJSONProtocol on the debug event object. |
- Handle<Object> fun = GetProperty(event_data_, "toJSONProtocol"); |
+ Handle<Object> fun = |
+ GetProperty(event_data_, "toJSONProtocol").ToHandleChecked(); |
if (!fun->IsJSFunction()) { |
return v8::Handle<v8::String>(); |
} |