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

Unified Diff: runtime/lib/lib_prefix.dart

Issue 1453513002: Uses a HashMap to complete deferred library loads. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/lib_prefix.dart
diff --git a/runtime/lib/lib_prefix.dart b/runtime/lib/lib_prefix.dart
index fb9fe815400e55c5655e129b7b9d6c2b25e042ae..55b47b38bbd846bb950fe9e9675802d19ffd9659 100644
--- a/runtime/lib/lib_prefix.dart
+++ b/runtime/lib/lib_prefix.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
import "dart:async";
+import "dart:collection";
import "dart:isolate";
// This type corresponds to the VM-internal class LibraryPrefix.
@@ -39,7 +40,7 @@ class _LibraryPrefix {
}
}
-var _outstandingLoadRequests = new Map<_LibraryPrefix, Completer>();
+var _outstandingLoadRequests = new HashMap<_LibraryPrefix, Completer>();
// Called from the VM when all outstanding load requests have
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698