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

Unified Diff: bin/main.cc

Issue 9639018: - Fix the dart_no_snapshot binary. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/main.cc
===================================================================
--- bin/main.cc (revision 5182)
+++ bin/main.cc (working copy)
@@ -391,9 +391,10 @@
Builtin::SetNativeResolver(Builtin::kIOLibrary);
}
- // Prepare builtin for use to resolve URIs.
+ // Prepare builtin and its dependent libraries for use to resolve URIs.
+ Dart_Handle uri_lib = Builtin::LoadLibrary(Builtin::kUriLibrary);
Dart_Handle builtin_lib = Builtin::LoadLibrary(Builtin::kBuiltinLibrary);
- Builtin::ImportLibrary(builtin_lib, Builtin::kUriLibrary);
+ Dart_LibraryImportLibrary(builtin_lib, uri_lib);
// Load the specified application script into the newly created isolate.
Dart_Handle library = LoadScript(builtin_lib, import_map_options);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698