Index: vm/dart.cc |
=================================================================== |
--- vm/dart.cc (revision 3046) |
+++ vm/dart.cc (working copy) |
@@ -79,9 +79,7 @@ |
// of Object::Init(..) in a regular isolate creation path. |
Object::InitFromSnapshot(isolate); |
const Snapshot* snapshot = Snapshot::SetupFromBuffer(snapshot_buffer); |
- SnapshotReader reader(snapshot, |
- isolate->heap(), |
- isolate->object_store()); |
+ SnapshotReader reader(snapshot, isolate); |
reader.ReadFullSnapshot(); |
} |