Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl |
index 10ed0f52a042574ffd2d6fdb26534e5883e0314c..5e6c50edadf754e878c6c0c0b8630c15e5b6b5f7 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl |
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl |
@@ -308,7 +308,7 @@ typedef long long GLint64; |
/* Framebuffer objects */ |
void blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); |
- void framebufferTextureLayer(GLenum target, GLenum attachment, WebGLTexture texture, GLint level, GLint layer); |
+ [CallWith=ScriptState] void framebufferTextureLayer(GLenum target, GLenum attachment, WebGLTexture? texture, GLint level, GLint layer); |
[CallWith=ScriptState] any getInternalformatParameter(GLenum target, GLenum internalformat, GLenum pname); |
void invalidateFramebuffer(GLenum target, sequence<GLenum> attachments); |
void invalidateSubFramebuffer (GLenum target, sequence<GLenum> attachments, GLint x, GLint y, GLsizei width, GLsizei height); |