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

Unified Diff: vm/unit_test.cc

Issue 10280003: Set up a variable so that the compiler script can be imported using an import map. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « vm/unit_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/unit_test.cc
===================================================================
--- vm/unit_test.cc (revision 7204)
+++ vm/unit_test.cc (working copy)
@@ -103,10 +103,10 @@
Dart_Handle TestCase::LoadTestScript(const char* script,
- Dart_NativeEntryResolver resolver) {
+ Dart_NativeEntryResolver resolver,
+ Dart_Handle import_map) {
Dart_Handle url = Dart_NewString(TestCase::url());
Dart_Handle source = Dart_NewString(script);
- Dart_Handle import_map = Dart_NewList(0);
Dart_Handle lib = Dart_LoadScript(url, source, LibraryTagHandler, import_map);
DART_CHECK_VALID(lib);
Dart_Handle result = Dart_SetNativeResolver(lib, resolver);
« no previous file with comments | « vm/unit_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698