Index: tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate |
index 74c7d33beab4aaa2ded3bf70ae1d736f0cadc523..76efb86228049dcc454c3198effb9f2ee27165a5 100644 |
--- a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate |
@@ -15,7 +15,7 @@ $!MEMBERS |
@DocsEditable() |
ImageData createImageDataFromImageData(ImageData imagedata) => |
$if DART2JS |
- JS('ImageData', '#.createImageData(#)', this, imagedata); |
+ JS('ImageData', '#.createImageData(#, #, null)', this, imagedata); |
$else |
this.createImageData(imagedata); |
$endif |