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

Unified Diff: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart

Issue 26662006: Changed LinkedHashSet to Set and LinkedHashMap to Map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: HashMap -> Map. Created 7 years, 2 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
Index: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
index 79bb28197c0ea9310ecd08736dc093866ba7c568..1aca15d48b5c9fa685e829b4afb7b2b037ab316a 100644
--- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
@@ -5,7 +5,6 @@
library mirrors_dart2js;
import 'dart:async';
-import 'dart:collection' show LinkedHashMap;
import '../../compiler.dart' as api;
import '../elements/elements.dart';
@@ -1601,7 +1600,7 @@ class Dart2JsConstructedConstantMirror extends Dart2JsConstantMirror {
Map<String,Constant> get _fieldMap {
if (_fieldMapCache == null) {
- _fieldMapCache = new LinkedHashMap<String,Constant>();
+ _fieldMapCache = new Map<String,Constant>();
if (identical(_constant.type.element.kind, ElementKind.CLASS)) {
var index = 0;
ClassElement element = _constant.type.element;

Powered by Google App Engine
This is Rietveld 408576698