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

Unified Diff: tools/dom/templates/html/impl/impl_WebGL2RenderingContext.darttemplate

Issue 2978213002: Removed DARTIUM codegen for IDLS (sdk/lib/dartium) (Closed)
Patch Set: Update generated darttemplate Created 3 years, 5 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: 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
}
}

Powered by Google App Engine
This is Rietveld 408576698