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

Unified Diff: runtime/bin/main.cc

Issue 10868043: Move print to corelib. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Make it pass all tests. 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
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 014ecd6cc54c02d12a65a647bc20c8219cda8cf1..ac86c67c68d5abd7e2417700ccc8b3a4da667620 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -470,9 +470,6 @@ static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
url,
tag,
url_string);
- if (!Dart_IsError(result) && (tag == kImportTag)) {
- Builtin::ImportLibrary(result, Builtin::kBuiltinLibrary);
- }
return result;
}
@@ -636,8 +633,6 @@ static bool CreateIsolateAndSetupHelper(const char* script_uri,
Dart_ShutdownIsolate();
return false;
}
- // Implicitly import builtin into app.
- Builtin::ImportLibrary(library, Builtin::kBuiltinLibrary);
Dart_ExitScope();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698