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

Unified Diff: sdk/lib/_internal/compiler/implementation/deferred_load.dart

Issue 16019002: Merge the dart:uri library into dart:core and update the Uri class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Final cleanup Created 7 years, 7 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: sdk/lib/_internal/compiler/implementation/deferred_load.dart
diff --git a/sdk/lib/_internal/compiler/implementation/deferred_load.dart b/sdk/lib/_internal/compiler/implementation/deferred_load.dart
index abcf627fabd9011a41d36d4df4de5f8ff9a8d6d0..1a8d77008f73be06af0e7b38b1200fe153ad33ff 100644
--- a/sdk/lib/_internal/compiler/implementation/deferred_load.dart
+++ b/sdk/lib/_internal/compiler/implementation/deferred_load.dart
@@ -4,9 +4,6 @@
library deferred_load;
-import 'dart:uri'
- show Uri;
-
import 'dart:collection'
show LinkedHashMap,
LinkedHashSet;
@@ -65,7 +62,7 @@ class DeferredLoadTask extends CompilerTask {
}
ClassElement findDeferredLibraryClass() {
- var uri = new Uri.fromComponents(scheme: 'dart', path: 'async');
+ var uri = new Uri(scheme: 'dart', path: 'async');
LibraryElement asyncLibrary =
compiler.libraryLoader.loadLibrary(uri, null, uri);
var element = asyncLibrary.find(const SourceString('DeferredLibrary'));

Powered by Google App Engine
This is Rietveld 408576698