Index: gpu/command_buffer/common/gles2_cmd_utils.cc |
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc |
index 817efc124367008ba1f9efdd241d5a69f192076d..5bc3a1abca7bbf00a2afaa57b3c0d32ebb33d49e 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc |
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc |
@@ -1843,21 +1843,6 @@ |
} // namespace |
-bool IsWebGLContextType(ContextType context_type) { |
- // Switch statement to cause a compile-time error if we miss a case. |
- switch (context_type) { |
- case CONTEXT_TYPE_WEBGL1: |
- case CONTEXT_TYPE_WEBGL2: |
- return true; |
- case CONTEXT_TYPE_OPENGLES2: |
- case CONTEXT_TYPE_OPENGLES3: |
- return false; |
- } |
- |
- NOTREACHED(); |
- return false; |
-} |
- |
ContextCreationAttribHelper::ContextCreationAttribHelper() |
: gpu_preference(gl::PreferIntegratedGpu), |
alpha_size(-1), |