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

Unified Diff: pkg/serialization/lib/src/reader_writer.dart

Issue 11613005: Duplicate of https://chromiumcodereview.appspot.com/11567018/ (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix from review comment Created 8 years 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: pkg/serialization/lib/src/reader_writer.dart
diff --git a/pkg/serialization/lib/src/reader_writer.dart b/pkg/serialization/lib/src/reader_writer.dart
index 5109c5221faa0e3b7ba6a2f0f775a0de6e4ae964..586e115a15431d971ab3483fe69b94bc16b1abc3 100644
--- a/pkg/serialization/lib/src/reader_writer.dart
+++ b/pkg/serialization/lib/src/reader_writer.dart
@@ -38,7 +38,7 @@ class Writer {
* but also serves to record which objects we have already seen.
*/
final Map<dynamic, Reference> references =
- new IdentityMapPlus<dynamic, Reference>();
+ new IdentityMap<Object, Reference>();
/**
* The state of objects that need to be serialized is stored here.
@@ -647,4 +647,4 @@ class DesignatedRuleForObject {
DesignatedRuleForObject(this.target, this.rulePredicate);
possibleRules(List rules) => rules.filter(rulePredicate);
-}
+}
« no previous file with comments | « pkg/serialization/lib/src/mirrors_helpers.dart ('k') | pkg/serialization/lib/src/serialization_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698