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

Unified Diff: runtime/vm/unit_test.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
« runtime/vm/unit_test.h ('K') | « runtime/vm/unit_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« runtime/vm/unit_test.h ('K') | « runtime/vm/unit_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698