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

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

Issue 143363011: First pass at cleaning up html lib warnings from the analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
« no previous file with comments | « tools/dom/src/native_DOMImplementation.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d04c3bbb06eaec56082507afbf4fc262a2682350..bec16f9aa7e7b604c9bd267c5ec7c9e8e21d5dad 100644
--- a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
+++ b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
@@ -67,11 +67,11 @@ $endif
$if DART2JS
@JSName('texSubImage2D')
void texSubImage2DUntyped(int targetTexture, int levelOfDetail,
- int internalFormat, int format, int type, data) native;
+ int xOffset, int yOffset, int format, int type, data) native;
$else
void texSubImage2DUntyped(int targetTexture, int levelOfDetail,
- int internalFormat, int format, int type, data) {
- texSubImage2D(targetTexture, levelOfDetail, internalFormat,
+ int xOffset, int yOffset, int format, int type, data) {
+ texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
format, type, data);
}
$endif
@@ -82,14 +82,14 @@ $endif
$if DART2JS
@JSName('texSubImage2D')
void texSubImage2DTyped(int targetTexture, int levelOfDetail,
- int internalFormat, int width, int height, int border, int format,
+ int xOffset, int yOffset, int width, int height, int border, int format,
int type, TypedData data) native;
$else
void texSubImage2DTyped(int targetTexture, int levelOfDetail,
- int internalFormat, int width, int height, int border, int format,
+ int xOffset, int yOffset, int width, int height, int format,
int type, TypedData data) {
- texSubImage2D(targetTexture, levelOfDetail, internalFormat,
- width, height, border, format, type, data);
+ texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
+ width, height, format, type, data);
}
$endif
}
« no previous file with comments | « tools/dom/src/native_DOMImplementation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698