Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
| index d0f75fcae8b4f0af5dc0d06a431493bca717fb04..88fd5b0da505c6e58c79d20ad6c3de461ac368d2 100644 |
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
| @@ -6081,16 +6081,6 @@ bool WebGLRenderingContextBase::validateCapability(const char* functionName, GLe |
| } |
| } |
| -template<typename WTFTypedArray> |
| -bool WebGLRenderingContextBase::validateUniformParameters(const char* functionName, const WebGLUniformLocation* location, const TypedFlexibleArrayBufferView<WTFTypedArray>& v, GLsizei requiredMinSize) |
|
Ken Russell (switch to Gerrit)
2015/09/30 21:43:37
Had to be moved to the header in order to let WebG
|
| -{ |
| - if (!v.dataMaybeOnStack()) { |
| - synthesizeGLError(GL_INVALID_VALUE, functionName, "no array"); |
| - return false; |
| - } |
| - return validateUniformMatrixParameters(functionName, location, false, v.dataMaybeOnStack(), v.length(), requiredMinSize); |
| -} |
| - |
| bool WebGLRenderingContextBase::validateUniformParameters(const char* functionName, const WebGLUniformLocation* location, DOMFloat32Array* v, GLsizei requiredMinSize) |
| { |
| if (!v) { |