| Index: tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate b/tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate
|
| index 512fad9d6d4532e15983af1170a1ce295876aa74..b4a0e4e702b8e4e966b7789730ef5bdf14cbc9f2 100644
|
| --- a/tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate
|
| @@ -12,15 +12,7 @@ $!MEMBERS
|
| @DocsEditable()
|
| void readPixels(int x, int y, int width, int height, int format, int type,
|
| TypedData pixels) {
|
| -$if DART2JS
|
| _readPixels(x, y, width, height, format, type, pixels);
|
| -$else
|
| - var data = js.toArrayBufferView(pixels);
|
| - _readPixels(x, y, width, height, format, type, data);
|
| - for (var i = 0; i < data.length; i++) {
|
| - pixels[i] = data[i];
|
| - }
|
| -$endif
|
| }
|
| }
|
|
|
|
|