| Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
| index e9ae9ea423ad15664691a1647f7fb3209f171564..c47b01755ac03270f1e3c3937b0de1e5243ccb47 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
| @@ -160,16 +160,16 @@ public:
|
|
|
| /* Vertex Array Objects */
|
| WebGLVertexArrayObject* createVertexArray();
|
| - void deleteVertexArray(WebGLVertexArrayObject*);
|
| + void deleteVertexArray(ScriptState*, WebGLVertexArrayObject*);
|
| GLboolean isVertexArray(WebGLVertexArrayObject*);
|
| - void bindVertexArray(WebGLVertexArrayObject*);
|
| + void bindVertexArray(ScriptState*, WebGLVertexArrayObject*);
|
|
|
| /* Reading */
|
| void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, long long offset);
|
|
|
| /* WebGLRenderingContextBase overrides */
|
| void initializeNewContext() override;
|
| - void bindFramebuffer(GLenum target, WebGLFramebuffer*) override;
|
| + void bindFramebuffer(ScriptState*, GLenum target, WebGLFramebuffer*) override;
|
| void deleteFramebuffer(WebGLFramebuffer*) override;
|
| ScriptValue getParameter(ScriptState*, GLenum pname) override;
|
| ScriptValue getTexParameter(ScriptState*, GLenum target, GLenum pname) override;
|
| @@ -181,7 +181,7 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| - WebGL2RenderingContextBase(HTMLCanvasElement*, PassOwnPtr<WebGraphicsContext3D>, const WebGLContextAttributes& requestedAttributes);
|
| + WebGL2RenderingContextBase(HTMLCanvasElement*, ScriptState*, PassOwnPtr<WebGraphicsContext3D>, const WebGLContextAttributes& requestedAttributes);
|
|
|
| // Helper function to validate target and the attachment combination for getFramebufferAttachmentParameters.
|
| // Generate GL error and return false if parameters are illegal.
|
|
|