Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index 4e7506556069b1d4335fceccfe8ac85b235b5ec2..80ca20992977ab86eee0557860ea32b402cba336 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -9513,14 +9513,6 @@ |
case GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM: |
case GL_GET_ERROR_QUERY_CHROMIUM: |
break; |
- case GL_COMMANDS_COMPLETED_CHROMIUM: |
- if (!features().chromium_sync_query) { |
- LOCAL_SET_GL_ERROR( |
- GL_INVALID_OPERATION, "glBeginQueryEXT", |
- "not enabled for commands completed queries"); |
- return error::kNoError; |
- } |
- break; |
default: |
if (!features().occlusion_query_boolean) { |
LOCAL_SET_GL_ERROR( |