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

Unified Diff: runtime/bin/dartutils.cc

Issue 133893007: Rename internal library dart:_collection-dev to dart:_internal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo in dart2js Symbol lookup. Created 6 years, 11 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
Index: runtime/bin/dartutils.cc
diff --git a/runtime/bin/dartutils.cc b/runtime/bin/dartutils.cc
index 6e9aa00f85601b6f761134c999ed0ce593271c46..bd8791d82e0576a8fa8678e93b78ec49d17f8652 100644
--- a/runtime/bin/dartutils.cc
+++ b/runtime/bin/dartutils.cc
@@ -26,7 +26,7 @@ const char* DartUtils::kDartScheme = "dart:";
const char* DartUtils::kDartExtensionScheme = "dart-ext:";
const char* DartUtils::kAsyncLibURL = "dart:async";
const char* DartUtils::kBuiltinLibURL = "dart:builtin";
-const char* DartUtils::kCollectionDevLibURL = "dart:_collection-dev";
+const char* DartUtils::kInternalLibURL = "dart:_internal";
floitsch 2014/01/14 19:21:01 The URLs were sorted.
Lasse Reichstein Nielsen 2014/01/15 09:27:42 Done.
const char* DartUtils::kCoreLibURL = "dart:core";
const char* DartUtils::kIsolateLibURL = "dart:isolate";
const char* DartUtils::kIOLibURL = "dart:io";
@@ -682,11 +682,11 @@ Dart_Handle DartUtils::PrepareForScriptLoading(const char* package_root,
// Setup the internal library's 'internalPrint' function.
Dart_Handle print = Dart_Invoke(
builtin_lib, NewString("_getPrintClosure"), 0, NULL);
- Dart_Handle url = NewString(kCollectionDevLibURL);
+ Dart_Handle url = NewString(kInternalLibURL);
DART_CHECK_VALID(url);
- Dart_Handle collection_dev_lib = Dart_LookupLibrary(url);
- DART_CHECK_VALID(collection_dev_lib);
- Dart_Handle result = Dart_SetField(collection_dev_lib,
+ Dart_Handle internal_lib = Dart_LookupLibrary(url);
+ DART_CHECK_VALID(internal_lib);
+ Dart_Handle result = Dart_SetField(internal_lib,
NewString("_printClosure"),
print);
DART_CHECK_VALID(result);

Powered by Google App Engine
This is Rietveld 408576698