diff --git a/dom/canvas/WebGLShaderValidator.cpp b/dom/canvas/WebGLShaderValidator.cpp index cc760439b64d..16d389af8f18 100644 --- a/dom/canvas/WebGLShaderValidator.cpp +++ b/dom/canvas/WebGLShaderValidator.cpp @@ -208,10 +208,6 @@ std::unique_ptr WebGLContext::CreateShaderValidator( return static_cast(bytes); } - if (gl->IsMesa()) { - return 4 * 4 * 1024; // 4K words - } - if (kIsMacOS) { return 128 * 1024; // 8k vec4s }