| Index: core/html/canvas/WebGLRenderingContextBase.idl
|
| diff --git a/core/html/canvas/WebGLRenderingContextBase.idl b/core/html/canvas/WebGLRenderingContextBase.idl
|
| index e6b013e56f16b8fbf00ad776a86dfb8f80b3cd70..a7905569c1a340b2f449a57d533a51b67e1d3fd2 100644
|
| --- a/core/html/canvas/WebGLRenderingContextBase.idl
|
| +++ b/core/html/canvas/WebGLRenderingContextBase.idl
|
| @@ -41,11 +41,12 @@ typedef unrestricted float GLfloat;
|
| typedef unrestricted float GLclampf;
|
|
|
| [
|
| - // FIXME: [DoNotCheckConstants] and [TypeChecking=Interface|Nullable] should be applied
|
| + // FIXME: [DoNotCheckConstants] and [TypeChecking=Interface|Unrestricted] should be applied
|
| // to members and not need to be put on implementing interface
|
| // DoNotCheckConstants, // need to put on implementing interface
|
| NoInterfaceObject, // Always used on target of 'implements'
|
| - // TypeChecking=Interface|Nullable|Unrestricted, // need to put on implementing interface
|
| + // TypeChecking=Interface|Unrestricted, // need to put on implementing interface
|
| + WillBeGarbageCollected,
|
| ] interface WebGLRenderingContextBase {
|
|
|
| readonly attribute HTMLCanvasElement canvas;
|
| @@ -545,7 +546,7 @@ typedef unrestricted float GLclampf;
|
| [DartNoAutoScope] WebGLActiveInfo getActiveAttrib(WebGLProgram? program, GLuint index);
|
| [DartNoAutoScope] WebGLActiveInfo getActiveUniform(WebGLProgram? program, GLuint index);
|
|
|
| - [Custom, DartNoAutoScope] void getAttachedShaders(WebGLProgram? program);
|
| + [DartNoAutoScope] sequence<WebGLShader>? getAttachedShaders(WebGLProgram? program);
|
|
|
| [DartNoAutoScope] GLint getAttribLocation(WebGLProgram? program, DOMString name);
|
|
|
| @@ -561,21 +562,21 @@ typedef unrestricted float GLclampf;
|
| [Custom] any getFramebufferAttachmentParameter(GLenum target, GLenum attachment, GLenum pname);
|
| [Custom] any getParameter(GLenum pname);
|
| [Custom] any getProgramParameter(WebGLProgram? program, GLenum pname);
|
| - [TreatReturnedNullStringAs=Null] DOMString getProgramInfoLog(WebGLProgram? program);
|
| + DOMString? getProgramInfoLog(WebGLProgram? program);
|
| [Custom] any getRenderbufferParameter(GLenum target, GLenum pname);
|
| [Custom] any getShaderParameter(WebGLShader? shader, GLenum pname);
|
|
|
| - [TreatReturnedNullStringAs=Null] DOMString getShaderInfoLog(WebGLShader? shader);
|
| + DOMString? getShaderInfoLog(WebGLShader? shader);
|
|
|
| WebGLShaderPrecisionFormat getShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype);
|
|
|
| - [TreatReturnedNullStringAs=Null] DOMString getShaderSource(WebGLShader? shader);
|
| + DOMString? getShaderSource(WebGLShader? shader);
|
|
|
| - [Custom] sequence<DOMString> getSupportedExtensions();
|
| + sequence<DOMString>? getSupportedExtensions();
|
|
|
| [Custom] any getTexParameter(GLenum target, GLenum pname);
|
|
|
| - [Custom] any getUniform(WebGLProgram? program, WebGLUniformLocation location);
|
| + [Custom] any getUniform(WebGLProgram? program, WebGLUniformLocation? location);
|
|
|
| WebGLUniformLocation getUniformLocation(WebGLProgram? program, DOMString name);
|
|
|
|
|