| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index 1cff0aa27a6c5a1301a46220766b8b64d0c5f7c3..c3e2a6f17edce4ec76cbd6c46106bf57ca39b0d6 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -1240,8 +1240,7 @@ DART_EXPORT Dart_Isolate Dart_CreateIsolate(const char* script_uri,
|
| // Setup default flags in case none were passed.
|
| Dart_IsolateFlags api_flags;
|
| if (flags == NULL) {
|
| - Isolate::Flags vm_flags;
|
| - vm_flags.CopyTo(&api_flags);
|
| + Isolate::FlagsInitialize(&api_flags);
|
| flags = &api_flags;
|
| }
|
| Isolate* I = Dart::CreateIsolate(isolate_name, *flags);
|
|
|