| Index: runtime/vm/dart_api_impl_test.cc
|
| diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc
|
| index c17c4d2c93592aaf9a692ef967d1d4904d1ba60b..297703e5d7993481115e675226f21c1decedce3e 100644
|
| --- a/runtime/vm/dart_api_impl_test.cc
|
| +++ b/runtime/vm/dart_api_impl_test.cc
|
| @@ -3521,7 +3521,7 @@ VM_UNIT_TEST_CASE(IsolateSetCheckedMode) {
|
|
|
| // Create an isolate with checked mode flags.
|
| Dart_IsolateFlags api_flags;
|
| - api_flags.version = DART_FLAGS_CURRENT_VERSION;
|
| + Isolate::FlagsInitialize(&api_flags);
|
| api_flags.enable_type_checks = true;
|
| api_flags.enable_asserts = true;
|
| api_flags.enable_error_on_bad_type = true;
|
|
|