Index: runtime/vm/snapshot_test.cc |
=================================================================== |
--- runtime/vm/snapshot_test.cc (revision 7756) |
+++ runtime/vm/snapshot_test.cc (working copy) |
@@ -963,8 +963,10 @@ |
Dart_EnterScope(); // Start a Dart API scope for invoking API functions. |
// Load the library. |
+ Dart_Handle import_map = Dart_NewList(0); |
Dart_Handle import_lib = Dart_LoadLibrary(Dart_NewString("dart:import-lib"), |
- Dart_NewString(kLibScriptChars)); |
+ Dart_NewString(kLibScriptChars), |
+ import_map); |
EXPECT_VALID(import_lib); |
// Create a test library and Load up a test script in it. |