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

Unified Diff: runtime/bin/builtin_nolib.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 | « runtime/bin/builtin.cc ('k') | runtime/include/dart_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin_nolib.cc
diff --git a/runtime/bin/builtin_nolib.cc b/runtime/bin/builtin_nolib.cc
index eb95324c2ff23604a6a1d0f80d9ba680b1b86fb8..f08b4c2ade02f216c42eae7beb9999ca061bc7c8 100644
--- a/runtime/bin/builtin_nolib.cc
+++ b/runtime/bin/builtin_nolib.cc
@@ -62,5 +62,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 | « runtime/bin/builtin.cc ('k') | runtime/include/dart_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698