Chromium Code Reviews| Index: runtime/vm/dart_api_impl.cc |
| =================================================================== |
| --- runtime/vm/dart_api_impl.cc (revision 44835) |
| +++ runtime/vm/dart_api_impl.cc (working copy) |
| @@ -1286,7 +1286,7 @@ |
| const uint8_t* snapshot, |
| void* callback_data, |
| char** error) { |
| - TRACE_API_CALL(CURRENT_FUNC); |
| + CHECK_NO_ISOLATE(Isolate::Current()); |
| char* isolate_name = BuildIsolateName(script_uri, main); |
| Isolate* isolate = Dart::CreateIsolate(isolate_name); |
| free(isolate_name); |