Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1456)

Unified Diff: runtime/vm/snapshot_test.cc

Issue 10332257: Revert my last change. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698