| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index d316138f93480972c01f8e758d06017b63ab859e..6a1a904940faf3ff264420717a9d81f221e722ca 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -1376,8 +1376,6 @@ DART_EXPORT Dart_Handle Dart_CreateSnapshot(
|
| I->heap()->IterateObjects(&check_canonical);
|
| #endif // #if defined(DEBUG).
|
|
|
| - // Since this is only a snapshot the root library should not be set.
|
| - I->object_store()->set_root_library(Library::Handle(Z));
|
| FullSnapshotWriter writer(vm_isolate_snapshot_buffer,
|
| isolate_snapshot_buffer,
|
| NULL, /* instructions_snapshot_buffer */
|
|
|