Index: Source/core/html/canvas/WebGLRenderingContextBase.h |
diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.h b/Source/core/html/canvas/WebGLRenderingContextBase.h |
index b74658d46cb7dae1dc240892e7d79cc10cf26a1a..7e552331b7188442a0f6576e7691b30a27ce8615 100644 |
--- a/Source/core/html/canvas/WebGLRenderingContextBase.h |
+++ b/Source/core/html/canvas/WebGLRenderingContextBase.h |
@@ -166,7 +166,7 @@ public: |
void cullFace(GLenum mode); |
void deleteBuffer(WebGLBuffer*); |
- void deleteFramebuffer(WebGLFramebuffer*); |
+ virtual void deleteFramebuffer(WebGLFramebuffer*); |
void deleteProgram(WebGLProgram*); |
void deleteRenderbuffer(WebGLRenderbuffer*); |
void deleteShader(WebGLShader*); |
@@ -780,7 +780,7 @@ protected: |
bool isTexInternalFormatColorBufferCombinationValid(GLenum texInternalFormat, GLenum colorBufferFormat); |
// Helper function to get the bound framebuffer's color buffer format. |
- GLenum boundFramebufferColorFormat(); |
+ virtual GLenum boundFramebufferColorFormat(); |
// Helper function to verify limits on the length of uniform and attribute locations. |
bool validateLocationLength(const char* functionName, const String&); |
@@ -986,7 +986,7 @@ protected: |
void setBackDrawBuffer(GLenum); |
void setFramebuffer(GLenum, WebGLFramebuffer*); |
- void restoreCurrentFramebuffer(); |
+ virtual void restoreCurrentFramebuffer(); |
void restoreCurrentTexture2D(); |
virtual void multisamplingChanged(bool) override; |