| Index: tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
|
| index f419f2b3be3bab7f0c8db1e5f4313976d12484ac..90cf7f06afa5c6bbd4e91e42396f30232db67344 100644
|
| --- a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
|
| @@ -11,15 +11,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
|
| }
|
|
|
| /**
|
|
|