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

Unified Diff: runtime/vm/object.cc

Issue 11938036: Hide collection-dev library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Disallow importing dart:_collection_dev in dart2js. Created 7 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/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index e430b23ee712ef34548892b1d6565ef56fd623c6..e976ec4a85b7f6c1a934fb1e396448a2f275ecf3 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -6250,9 +6250,8 @@ void Library::InitCollectionLibrary(Isolate* isolate) {
void Library::InitCollectionDevLibrary(Isolate* isolate) {
- const String& url = String::Handle(Symbols::New("dart:collection-dev"));
+ const String& url = String::Handle(Symbols::New("dart:_collection-dev"));
Ivan Posva 2013/02/06 00:50:54 https://codereview.chromium.org/12220027 properly
const Library& lib = Library::Handle(Library::NewLibraryHelper(url, true));
- lib.Register();
isolate->object_store()->set_collection_dev_library(lib);
}
« no previous file with comments | « runtime/vm/bootstrap.cc ('k') | runtime/vm/vm.gypi » ('j') | tools/create_sdk.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698