Index: runtime/bin/builtin_nolib.cc |
=================================================================== |
--- runtime/bin/builtin_nolib.cc (revision 14314) |
+++ runtime/bin/builtin_nolib.cc (working copy) |
@@ -33,7 +33,7 @@ |
kInvalidLibrary); |
ASSERT(id >= kBuiltinLibrary && id < kInvalidLibrary); |
if (builtin_libraries_[id].has_natives_) { |
- Dart_Handle url = Dart_NewString(builtin_libraries_[id].url_); |
+ Dart_Handle url = DartUtils::NewString(builtin_libraries_[id].url_); |
Dart_Handle library = Dart_LookupLibrary(url); |
ASSERT(!Dart_IsError(library)); |
// Setup the native resolver for built in library functions. |
@@ -46,7 +46,7 @@ |
ASSERT((sizeof(builtin_libraries_) / sizeof(builtin_lib_props)) == |
kInvalidLibrary); |
ASSERT(id >= kBuiltinLibrary && id < kInvalidLibrary); |
- Dart_Handle url = Dart_NewString(builtin_libraries_[id].url_); |
+ Dart_Handle url = DartUtils::NewString(builtin_libraries_[id].url_); |
Dart_Handle library = Dart_LookupLibrary(url); |
if (Dart_IsError(library)) { |
ASSERT(id > kUtfLibrary); |