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

Unified Diff: runtime/vm/unit_test.cc

Issue 10887024: Move print to corelib. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Get rid of more builtin importing that is no longer needed. 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/vm/unit_test.cc
diff --git a/runtime/vm/unit_test.cc b/runtime/vm/unit_test.cc
index 70aac73c3da5f331e7871d57a71a5e420c017679..6e25457d77ceedaaf4e7aae996dccd0d6d1bc052 100644
--- a/runtime/vm/unit_test.cc
+++ b/runtime/vm/unit_test.cc
@@ -91,15 +91,11 @@ static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
return Dart_Error("Do not know how to load '%s'", url_chars);
}
}
- result = DartUtils::LoadSource(NULL,
- library,
- url,
- tag,
- url_chars);
- if (!Dart_IsError(result) && (tag == kImportTag)) {
- Builtin::ImportLibrary(result, Builtin::kBuiltinLibrary);
- }
- return result;
+ return DartUtils::LoadSource(NULL,
+ library,
+ url,
+ tag,
+ url_chars);
}

Powered by Google App Engine
This is Rietveld 408576698