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

Unified Diff: runtime/lib/deferred_load_patch.dart

Issue 221663005: Load deferred chunks in the right order. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/deferred_load.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/deferred_load_patch.dart
diff --git a/runtime/lib/deferred_load_patch.dart b/runtime/lib/deferred_load_patch.dart
index 2bd002708d8eeb1982496c561dfb056e10c08884..800fdefbff3feba91103d0fe519738e7ee8e3e64 100644
--- a/runtime/lib/deferred_load_patch.dart
+++ b/runtime/lib/deferred_load_patch.dart
@@ -5,11 +5,11 @@
final Set<String> _loadedLibraries = new Set<String>();
patch class DeferredLibrary {
- /* patch */ Future<bool> load() {
+ /* patch */ Future<Null> load() {
// Dummy implementation that should eventually be replaced by real
// implementation.
Future future =
- new Future<bool>.value(!_loadedLibraries.contains(libraryName));
+ new Future<Null>.value(null);
_loadedLibraries.add(libraryName);
return future;
}
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/deferred_load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698