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

Unified Diff: sdk/lib/_internal/lib/js_names.dart

Issue 75703002: Revert "This change makes it easier to put type parameters on JavaScript Arrays." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « sdk/lib/_internal/lib/js_array.dart ('k') | sdk/lib/_internal/lib/js_primitives.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/js_names.dart
diff --git a/sdk/lib/_internal/lib/js_names.dart b/sdk/lib/_internal/lib/js_names.dart
index 90ad3cf871f9cb5c54cf0beb5b90c28d5e5d0fde..5cd89e262d9686943a8516724d852866f54d79ff 100644
--- a/sdk/lib/_internal/lib/js_names.dart
+++ b/sdk/lib/_internal/lib/js_names.dart
@@ -8,7 +8,8 @@ import 'dart:_foreign_helper' show JS, JS_GET_NAME;
import 'dart:_js_helper' show JsCache;
-import 'dart:_interceptors' show JSArray;
+import 'dart:_js_primitives' show
+ markFixedList;
/// No-op method that is called to inform the compiler that unmangled named
/// must be preserved.
@@ -74,7 +75,7 @@ List extractKeys(victim) {
}
return result;
})(#, Object.prototype.hasOwnProperty)''', victim);
- return new JSArray.markFixed(result);
+ return markFixedList(result);
}
/**
« no previous file with comments | « sdk/lib/_internal/lib/js_array.dart ('k') | sdk/lib/_internal/lib/js_primitives.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698