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

Unified Diff: samples/ui_lib/util/CollectionUtils.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 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
« no previous file with comments | « samples/ui_lib/observable/EventBatch.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/util/CollectionUtils.dart
diff --git a/samples/ui_lib/util/CollectionUtils.dart b/samples/ui_lib/util/CollectionUtils.dart
index 30ad675dace5f8bd295f877194cdcc0dc88323a6..32424499df4560bae0d976ecee4ba4714c4f61ca 100644
--- a/samples/ui_lib/util/CollectionUtils.dart
+++ b/samples/ui_lib/util/CollectionUtils.dart
@@ -132,7 +132,7 @@ class CollectionUtils {
// TODO(jmesserly): something like should exist on Map, either a method or a
// constructor, see bug #5340679
static void copyMap(Map dest, Map source) {
- for (final k in source.getKeys()) {
+ for (final k in source.keys) {
dest[k] = source[k];
}
}
« no previous file with comments | « samples/ui_lib/observable/EventBatch.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698