Index: runtime/vm/message.cc |
diff --git a/runtime/vm/message.cc b/runtime/vm/message.cc |
index 810a348cefb971a44cc63cafa283cfdad2341d99..dc638b2602cdf8d902671a584a31e6b3baca99d0 100644 |
--- a/runtime/vm/message.cc |
+++ b/runtime/vm/message.cc |
@@ -181,10 +181,9 @@ Message* MessageQueue::FindMessageById(intptr_t id) { |
void MessageQueue::PrintJSON(JSONStream* stream) { |
- Isolate* isolate = Isolate::Current(); |
JSONArray messages(stream); |
- Object& msg_handler = Object::Handle(isolate); |
+ Object& msg_handler = Object::Handle(); |
MessageQueue::Iterator it(this); |
intptr_t depth = 0; |