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

Unified Diff: tools/dom/templates/html/impl/impl_WebGLRenderingContext.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_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
}
/**

Powered by Google App Engine
This is Rietveld 408576698