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

Unified Diff: client/html/generated/src/wrapping/_CanvasPixelArrayWrappingImplementation.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
« no previous file with comments | « no previous file | client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/generated/src/wrapping/_CanvasPixelArrayWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_CanvasPixelArrayWrappingImplementation.dart b/client/html/generated/src/wrapping/_CanvasPixelArrayWrappingImplementation.dart
index a4085de77c80a9e4385b28863318d12b7073ede2..d04d6b8a1797534cd552cbb4c61bc06c3b3408ba 100644
--- a/client/html/generated/src/wrapping/_CanvasPixelArrayWrappingImplementation.dart
+++ b/client/html/generated/src/wrapping/_CanvasPixelArrayWrappingImplementation.dart
@@ -62,6 +62,10 @@ class CanvasPixelArrayWrappingImplementation extends DOMWrapperBase implements C
_Collections.forEach(this, f);
}
+ Collection map(f(int element)) {
+ return _Collections.map(this, [], f);
+ }
+
Collection<int> filter(bool f(int element)) {
return _Collections.filter(this, new List<int>(), f);
}
« no previous file with comments | « no previous file | client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698