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 e7ac73c4030307daaab9fc760ae437eb37e6344b..b4229c99283327914718c19c0aef149eb9b1e24b 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
@@ -929,7 +929,7 @@ protected: |
// Helper function for tex{Sub}Image2D to check if the input format/type/level/target/width/height/border/xoffset/yoffset are valid. |
// Otherwise, it would return quickly without doing other work. |
bool validateTexFunc(const char* functionName, TexImageFunctionType, TexFuncValidationSourceType, GLenum target, GLint level, GLenum internalformat, GLsizei width, |
- GLsizei height, GLint border, GLenum format, GLenum type, GLint xoffset, GLint yoffset); |
+ GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLint xoffset, GLint yoffset); |
// Helper function to check input width and height for functions {copy, compressed}Tex{Sub}Image. |
// Generates GL error and returns false if width or height is invalid. |