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

Unified Diff: runtime/bin/builtin.cc

Issue 10867032: Beginning support for library prefixes in the dart API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use Dart_Null in builtin.cc Created 8 years, 4 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 | runtime/bin/builtin_nolib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin.cc
diff --git a/runtime/bin/builtin.cc b/runtime/bin/builtin.cc
index b2c7e0a22ef8de5dedeb39f75e09be7c46d4a0d6..9ba9053a9352f649d0695a910d389369c012b40e 100644
--- a/runtime/bin/builtin.cc
+++ b/runtime/bin/builtin.cc
@@ -27,7 +27,7 @@ static void ImportBuiltinLibIntoLib(
Dart_Handle url = Dart_NewString(liburl);
Dart_Handle lib = Dart_LookupLibrary(url);
DART_CHECK_VALID(lib);
- DART_CHECK_VALID(Dart_LibraryImportLibrary(lib, builtin_lib));
+ DART_CHECK_VALID(Dart_LibraryImportLibrary(lib, builtin_lib, Dart_Null()));
}
@@ -76,5 +76,7 @@ Dart_Handle Builtin::LoadLibrary(BuiltinLibraryId id) {
void Builtin::ImportLibrary(Dart_Handle library, BuiltinLibraryId id) {
Dart_Handle imported_library = LoadLibrary(id);
// Import the library into current library.
- DART_CHECK_VALID(Dart_LibraryImportLibrary(library, imported_library));
+ DART_CHECK_VALID(Dart_LibraryImportLibrary(library,
+ imported_library,
+ Dart_Null()));
}
« no previous file with comments | « no previous file | runtime/bin/builtin_nolib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698