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

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

Issue 9167006: Support map in generated dart:html files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart b/client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
index b3c32b209ca7cb33358235af1f9d1bcf748b6adc..29e02a29b37298a051a7aa807779b5b04f59754c 100644
--- a/client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
+++ b/client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart
@@ -62,6 +62,10 @@ class StyleSheetListWrappingImplementation extends DOMWrapperBase implements Sty
_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