Index: sdk/lib/_internal/js_runtime/lib/core_patch.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/core_patch.dart b/sdk/lib/_internal/js_runtime/lib/core_patch.dart |
index 3c639dc5fdc17e31255725655db298c34abb6c81..7d6ad7c244533fc8af009361b01a016c19aae16b 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/core_patch.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/core_patch.dart |
@@ -18,7 +18,8 @@ import 'dart:_js_helper' show patch, |
stringJoinUnchecked, |
objectHashCode, |
Closure, |
- readHttp; |
+ readHttp, |
+ JsLinkedHashMap; |
import 'dart:_foreign_helper' show JS; |
@@ -311,6 +312,9 @@ class List<E> { |
class Map<K, V> { |
@patch |
factory Map.unmodifiable(Map other) = ConstantMap<K, V>.from; |
+ |
+ @patch |
+ factory Map() = JsLinkedHashMap<K, V>.es6; |
} |
@patch |