Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index cd8c54e63d24162755b57a0c800a6344f0c6a839..add78d5e3e4f693af1955ae505075e4e8265603a 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -5788,7 +5788,7 @@ DART_EXPORT Dart_Handle Dart_GetImportsOfScheme(Dart_Handle scheme) { |
} |
} |
- return Api::NewHandle(T, Array::MakeArray(result)); |
+ return Api::NewHandle(T, Array::MakeFixedLength(result)); |
} |