Index: runtime/vm/service.cc |
=================================================================== |
--- runtime/vm/service.cc (revision 45789) |
+++ runtime/vm/service.cc (working copy) |
@@ -1272,11 +1272,10 @@ |
// Not found. |
return false; |
} |
- SnapshotReader reader(message->data(), |
- message->len(), |
- Snapshot::kMessage, |
- isolate, |
- isolate->current_zone()); |
+ MessageSnapshotReader reader(message->data(), |
+ message->len(), |
+ isolate, |
+ isolate->current_zone()); |
const Object& msg_obj = Object::Handle(reader.ReadObject()); |
msg_obj.PrintJSON(js); |
return true; |