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

Unified Diff: client/dom/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart

Issue 9114026: Add map to dart:dom collections. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: x Created 8 years, 11 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: client/dom/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart b/client/dom/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
index 894b1436b9ad0eda84b88923fc54bb27df57bbc8..a459af9d2b98f73df3484de85a5b034ff34d8c9f 100644
--- a/client/dom/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
@@ -66,6 +66,10 @@ class _StyleSheetListWrappingImplementation extends DOMWrapperBase implements St
_Collections.forEach(this, f);
}
+ Collection map(f(StyleSheet element)) {
+ return _Collections.map(this, [], f);
+ }
+
Collection<StyleSheet> filter(bool f(StyleSheet element)) {
return _Collections.filter(this, new List<StyleSheet>(), f);
}

Powered by Google App Engine
This is Rietveld 408576698