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

Unified Diff: sdk/lib/_internal/compiler/js_lib/collection_patch.dart

Issue 1199343006: Don't use ES6 map if browser has no Map (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/js_lib/collection_patch.dart
diff --git a/sdk/lib/_internal/compiler/js_lib/collection_patch.dart b/sdk/lib/_internal/compiler/js_lib/collection_patch.dart
index 55af330c55d4a1a489eb0bbb2bdf92ecd8808080..74582ba193f18160850f78df8bc075e1837b3ce8 100644
--- a/sdk/lib/_internal/compiler/js_lib/collection_patch.dart
+++ b/sdk/lib/_internal/compiler/js_lib/collection_patch.dart
@@ -554,8 +554,8 @@ class _LinkedIdentityHashMap<K, V> extends JsLinkedHashMap<K, V> {
factory _LinkedIdentityHashMap.es6() {
return (_USE_ES6_MAPS && _LinkedIdentityHashMap._supportsEs6Maps)
- ? new _LinkedIdentityHashMap<K, V>()
- : new _Es6LinkedIdentityHashMap<K, V>();
+ ? new _Es6LinkedIdentityHashMap<K, V>()
+ : new _LinkedIdentityHashMap<K, V>();
}
_LinkedIdentityHashMap();
« 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