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

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

Issue 742873002: Isolates: allow sending of arbitrary objects in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and map-serialization fix. Created 6 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
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 78147f8871f13771f89f8f311f881f7b9021a51e..1653bbe6f5d9128c79f150f88c6b893673729152 100644
--- a/sdk/lib/_internal/compiler/js_lib/collection_patch.dart
+++ b/sdk/lib/_internal/compiler/js_lib/collection_patch.dart
@@ -4,7 +4,7 @@
// Patch file for dart:collection classes.
import 'dart:_foreign_helper' show JS;
-import 'dart:_js_helper' show fillLiteralMap, NoInline, patch;
+import 'dart:_js_helper' show fillLiteralMap, InternalMap, NoInline, patch;
@patch
class HashMap<K, V> {
@@ -529,7 +529,7 @@ class LinkedHashMap<K, V> {
}
}
-class _LinkedHashMap<K, V> implements LinkedHashMap<K, V> {
+class _LinkedHashMap<K, V> implements LinkedHashMap<K, V>, InternalMap {
int _length = 0;
// The hash map contents are divided into three parts: one part for

Powered by Google App Engine
This is Rietveld 408576698