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

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

Issue 1846803002: Fix webgl methods, properly this time (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove whitelisting of analysis failures Created 4 years, 9 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 | « tests/compiler/dart2js/analyze_api_test.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 029a38bc06107b8e8a3c91a6526f429ba90d4dac..cb6f865d2eea224eabd396f8e163661d1b52cd51 100644
--- a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
+++ b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate
@@ -18,7 +18,7 @@ $!MEMBERS
@Deprecated("Use texImage2D")
void texImage2DUntyped(int targetTexture, int levelOfDetail,
int internalFormat, int format, int type, data) {
- texImage2D(targetText, levelOfDetail, internalFormat, format, type, data);
+ texImage2D(targetTexture, levelOfDetail, internalFormat, format, type, data);
}
/**
@@ -63,16 +63,14 @@ $!MEMBERS
*/
@Deprecated("Use bufferData")
void bufferDataTyped(int target, TypedData data, int usage) {
- bufferData2D(targetTexture, levelOfDetail, xOffset, yOffset,
- format, type, data);
+ bufferData(target, data, usage);
}
/**
* Set the bufferSubData to [data].
*/
@Deprecated("Use bufferSubData")
- void bufferSubDataTyped(int target, TypedData data, int usage) {
- bufferSubData2D(targetTexture, levelOfDetail, xOffset, yOffset,
- format, type, data);
+ void bufferSubDataTyped(int target, int offset, TypedData data) {
+ bufferSubData(target, offset, data);
}
}
« no previous file with comments | « tests/compiler/dart2js/analyze_api_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698