| 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 57579e741404c5e8e9d58145cc393eee6389f5e9..a78cbf82e0ff00bf5530292b8155f3006eb8d47b 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
|
| @@ -819,6 +819,11 @@ protected:
|
| // ASCII subset as defined in GLSL ES 1.0 spec section 3.1.
|
| bool validateString(const char* functionName, const String&);
|
|
|
| + // Helper function to check if all characters in the shader source belong to the ASCII
|
| + // subset as defined in GLSL ES 1.0 spec section 3.1 Character Set for WebGL 1.0 and
|
| + // in GLSL ES 3.00 spec section 3.1 Character Set for WebGL 2.0.
|
| + bool validateShaderSource(const String&);
|
| +
|
| // Helper function to check texture binding target and texture bound to the target.
|
| // Generate GL errors and return 0 if target is invalid or texture bound is
|
| // null. Otherwise, return the texture bound to the target.
|
|
|