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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl

Issue 1573173002: Make WebGL's texImage2D and texSubImage2D handle cross-origin ImageBitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add validateImageBitmap helper function & a layout test Created 4 years, 11 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: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl
index 16f62a8cbd1e5091744ff9a4cdbdc31111621fec..ed15f28f3bf4327f1f77ac61b73cc246e9ddbca7 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl
@@ -631,7 +631,7 @@ typedef unrestricted float GLclampf;
[RaisesException] void texImage2D(
GLenum target, GLint level, GLint internalformat,
GLenum format, GLenum type, HTMLVideoElement video);
- [RuntimeEnabled=ExperimentalCanvasFeatures] void texImage2D(
+ [RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] void texImage2D(
GLenum target, GLint level, GLint internalformat,
GLenum format, GLenum type, ImageBitmap bitmap);
@@ -651,7 +651,7 @@ typedef unrestricted float GLclampf;
[RaisesException] void texSubImage2D(
GLenum target, GLint level, GLint xoffset, GLint yoffset,
GLenum format, GLenum type, HTMLVideoElement video);
- [RuntimeEnabled=ExperimentalCanvasFeatures] void texSubImage2D(
+ [RaisesException, RuntimeEnabled=ExperimentalCanvasFeatures] void texSubImage2D(
GLenum target, GLint level, GLint xoffset, GLint yoffset,
GLenum format, GLenum type, ImageBitmap bitmap);

Powered by Google App Engine
This is Rietveld 408576698