| Index: runtime/vm/object.cc
|
| ===================================================================
|
| --- runtime/vm/object.cc (revision 38321)
|
| +++ runtime/vm/object.cc (working copy)
|
| @@ -9804,8 +9804,9 @@
|
| this->set_is_loaded();
|
| return true;
|
| } else if (deferred_lib.LoadNotStarted()) {
|
| + Isolate* isolate = Isolate::Current();
|
| + Api::Scope api_scope(isolate);
|
| deferred_lib.SetLoadRequested();
|
| - Isolate* isolate = Isolate::Current();
|
| const String& lib_url = String::Handle(isolate, deferred_lib.url());
|
| Dart_LibraryTagHandler handler = isolate->library_tag_handler();
|
| handler(Dart_kImportTag,
|
|
|