Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
index e02dfa5b2e4daa8de10207cca12bfcfed0929638..af7ea86da9e3bbd4d5eba600d0a20c7bc455f8a7 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
@@ -481,7 +481,7 @@ protected: |
// Helper to return the size in bytes of OpenGL data types |
// like GL_FLOAT, GL_INT, etc. |
- unsigned sizeInBytes(GLenum type); |
+ unsigned sizeInBytes(GLenum type) const; |
// Check if each enabled vertex attribute is bound to a buffer. |
bool validateRenderingState(const char*); |