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')); |