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

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

Issue 75453004: Reapply "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: fix recursive_import_test 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 5cd89e262d9686943a8516724d852866f54d79ff..90ad3cf871f9cb5c54cf0beb5b90c28d5e5d0fde 100644
--- a/sdk/lib/_internal/lib/js_names.dart
+++ b/sdk/lib/_internal/lib/js_names.dart
@@ -8,8 +8,7 @@ import 'dart:_foreign_helper' show JS, JS_GET_NAME;
import 'dart:_js_helper' show JsCache;
-import 'dart:_js_primitives' show
- markFixedList;
+import 'dart:_interceptors' show JSArray;
/// No-op method that is called to inform the compiler that unmangled named
/// must be preserved.
@@ -75,7 +74,7 @@ List extractKeys(victim) {
}
return result;
})(#, Object.prototype.hasOwnProperty)''', victim);
- return markFixedList(result);
+ return new JSArray.markFixed(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