| Index: runtime/vm/parser.cc
|
| ===================================================================
|
| --- runtime/vm/parser.cc (revision 6237)
|
| +++ runtime/vm/parser.cc (working copy)
|
| @@ -3396,9 +3396,9 @@
|
| ErrorMsg(token_pos, "no library handler registered");
|
| }
|
| Dart_Handle result = handler(tag,
|
| - Api::NewLocalHandle(isolate, library_),
|
| - Api::NewLocalHandle(isolate, url),
|
| - Api::NewLocalHandle(isolate, import_map));
|
| + Api::NewHandle(isolate, library_.raw()),
|
| + Api::NewHandle(isolate, url.raw()),
|
| + Api::NewHandle(isolate, import_map.raw()));
|
| if (Dart_IsError(result)) {
|
| Error& prev_error = Error::Handle();
|
| prev_error ^= Api::UnwrapHandle(result);
|
|
|